line counting tool that detects D comments etc?

Stewart Gordon smjg_1998 at yahoo.com
Sat Apr 10 18:06:02 PDT 2010


Kagamin wrote:
> Trass3r Wrote:
<snip>
>> Just a simple tool that counts actual LoC, empty lines, comments, maybe  
>> ddoc comments...
> 
> don't know ready solution, but Scintilla's D lexer may be of some use.

Surely it's as straightforward to write this simple tool yourself as to 
dig into something like a text editor's lexer?

Stewart.


More information about the Digitalmars-d-learn mailing list