Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 04, 2010 line counting tool that detects D comments etc? | ||||
---|---|---|---|---|
| ||||
Is there any line counting tool that also detects nested D comments etc.? Preferably for Windoze or platform-independent. |
March 04, 2010 Re: line counting tool that detects D comments etc? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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?
|
March 04, 2010 Re: line counting tool that detects D comments etc? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | > 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...
|
March 05, 2010 Re: line counting tool that detects D comments etc? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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.
|
April 11, 2010 Re: line counting tool that detects D comments etc? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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. |
Copyright © 1999-2021 by the D Language Foundation