Comments (8)
Rare file extensions: 4, blk, f83, fb, fpm, ft, rx, scr, spf, txt, e4.
I guess you can ignore txt.
from cloc.
I added support for Forth with many (4th, e4, f83, fb, forth, fpm, fr, frt, ft, fth, rx) of the listed extensions with git commit 121cc5e.
These extensions conflict with Fortran: f, for
This extension conflicts with F#: fs
These extensions (like txt) map to non-code files I'm familiar with: scr, spf
cloc can work with extensions to map to multiple languages but then more work is needed to write a special function that can deduce which of the two or more languages a given file is. I might revisit that in the future. Or you could supply the function (see for inspiration cloc's existing subroutines matlab_or_objective_C(), pascal_or_puppet(), Perl_or_Prolog(), et cetera).
from cloc.
Thank you!
from cloc.
scr
is just Forth source code without line breaks. That's why they look strange.
from cloc.
The integration of your two routines is complete with git commit 88f71e7.
from cloc.
Looks good!
from cloc.
hi Lars, if you have a moment could you respond to the remarks at #103 regarding the use of (* .. *) to denote Forth comments?
from cloc.
Yep.
from cloc.
Related Issues (20)
- Trying to ignore the C# generated files using --no-autogen but its not working HOT 3
- Wrong comment results for Java HOT 1
- Add support of Java text blocks HOT 7
- Wrong code results for Java HOT 1
- Wrong line calculations with strings in C HOT 1
- Cloc doesn't count XML file HOT 1
- Cloc doesn't support <![CDATA[ .... ]]]]><![CDATA[> ...]]> in XML HOT 2
- Cloc counts line where comment starts as comment in XML HOT 1
- Nickel config lang support
- exe version of cloc not support file name with chinese character HOT 4
- Language support for Luau .luau HOT 1
- List winget in README package maganers HOT 1
- Cloc has problems with */* in Go HOT 3
- Cloc doesn't count correctly Visual Basic code HOT 1
- Add Modelica language HOT 3
- support Processing Language
- Documentation for --force-lang is slightly wrong HOT 3
- --fullpath does not work with --vcs=git HOT 4
- Possible inconsistent counting of "same" lines HOT 5
- Add option to exclude shebang from the count HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloc.