digitalmars.D.learn - line counting tool that detects D comments etc?
- Trass3r (2/2) Mar 03 2010 Is there any line counting tool that also detects nested D comments etc....
- Ellery Newcomer (3/5) Mar 03 2010 Could you clarify what kind of a utility you're looking for? e.g. what's...
- Trass3r (3/4) Mar 03 2010 so they aren't counted as lines of code.
- Kagamin (2/7) Mar 04 2010 don't know ready solution, but Scintilla's D lexer may be of some use.
- Stewart Gordon (5/10) Apr 10 2010 Surely it's as straightforward to write this simple tool yourself as to
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
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
Trass3r Wrote:don't know ready solution, but Scintilla's D lexer may be of some use.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 04 2010
Kagamin wrote:Trass3r Wrote:<snip>Surely it's as straightforward to write this simple tool yourself as to dig into something like a text editor's lexer? Stewart.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.
Apr 10 2010