digitalmars.D.learn - line counting tool that detects D comments etc?
- Trass3r <un known.com> Mar 03 2010
- Ellery Newcomer <ellery-newcomer utulsa.edu> Mar 03 2010
- Kagamin <spam here.lot> Mar 04 2010
- Stewart Gordon <smjg_1998 yahoo.com> Apr 10 2010
- Trass3r <un known.com> Mar 03 2010
Is there any line counting tool that also detects nested D comments etc.? Preferably for Windoze or platform-independent.
Mar 03 2010
On 03/03/2010 06:15 PM, Trass3r wrote:Is there any line counting tool that also detects nested D comments etc.? Preferably for Windoze or platform-independent.
Could you clarify what kind of a utility you're looking for? e.g. what's the significance of being able to detect nested comments?
Mar 03 2010
Trass3r Wrote:e.g. what's the significance of being able to detect nested comments?
so they aren't counted as lines of code. 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.
Mar 04 2010
Kagamin wrote:Trass3r Wrote:
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.
Apr 10 2010
e.g. what's the significance of being able to detect nested comments?
so they aren't counted as lines of code. Just a simple tool that counts actual LoC, empty lines, comments, maybe ddoc comments...
Mar 03 2010









Stewart Gordon <smjg_1998 yahoo.com> 