On Sun, 28 Jul 2013 00:27:34 +0200
"Brian Schott" <briancsch...@gmail.com> wrote:

> DScanner is a tool for analyzing D source code. It has the 
> following features:
> * Prints out a complete AST of a source file in XML format.
> * Syntax checks code and prints warning/error messages
> * Prints a listing of modules imported by a source file
> * Syntax highlights code in HTML format
> * Provides more meaningful "line of code" count than wc
> * Counts tokens in a source file
> The lexer/parser/AST are located in the "std/d" directory in the 
> repository. These files should prove useful to anyone else 
> working on D tooling.
> https://github.com/Hackerpilot/Dscanner
> Aside: the D grammar that I reverse-engineered can be located 
> here: 
> https://rawgithub.com/Hackerpilot/DGrammar/master/grammar.html

Sweet, I was *just* thinking about writing a D -> HTML syntax
highlighter no more than about five minutes ago. Glad to see I won't
have to :) I'll definitely be checking this out.

Reply via email to