[antlr-interest] New Example Project: HLSL Parser + Tree walker using C# Target

Christian Schladetsch christian.schladetsch at gmail.com
Sun Jan 10 01:41:09 PST 2010


Hi All,

I just spent a few hours tidying up an FX Parser and adding it to my
*GoogleCode
*depot.

It uses ANTLR 3 to parse HLSL files to an AST, then a Tree Walker and
StringTemplate to write out the HLSL again. The target language is C#.

I think its all there now, including all dependencies and custom build rules
for VS 2008.

To try it, you will need to checkout my
repository<http://code.google.com/p/schladetsch/source/checkout><http://code.google.com/p/schladetsch/source/checkout>.
For example:

svn checkout http://schladetsch.googlecode.com/svn/trunk/ .
start Effects\Tools\FXParser\FXParser.sln

Regards,
Christian.


More information about the antlr-interest mailing list