Search code examples
d

Language Introspection for the D language


Is there something like lint for the D language or is there any framework to quickly build a checker?

Edit 1

In retrospect i remember that i took a look a week ago at the tool DScanner. The tool can only return the Classnames and some other stuff but it includes a full Lexer and Parser.

Sourcecode https://github.com/Hackerpilot/Dscanner


Solution

  • Is there something like lint for the D language

    Stefan Rohe will be presenting AnalyzeD at this year's D conference. However, the AnalyzeD website seems to be currently down.

    or is there any framework to quickly build a checker?

    Brian Schott is working on std.d.lexer, a proposed inclusion for Phobos (D's standard library), which would allow lexing D programs.

    Some other projects can be found on the D Wiki:

    http://wiki.dlang.org/Lexers_Parsers