Banish crusty code with the Uncrustify C/C++/C#/D/Java/Pawn source code beautifier. It indents, adds newlines, aligns, etc, and is highly configurable.
ANTLR is a well-known parser generator . It can generate parsers in several languages. This project provides the templates to produce D code and a D runtime library for running the created parser. It requires ANTLR tool. Use svn to get D target. One example is included.
This target works with ANTLR 3.4
The Language Machine is a toolkit for language and grammar: a library, main program, and self-hosted rule compilers with one frontend. The system is easy to use. It directly implements unrestricted rule-based grammars with actions and external interfaces.