I am looking for a parser, that can extract the abstract syntax tree from a java code. The parser must work under .Net – I need to run it from C#. I know about ANTLR, but I did not find any grammar, that can generate AST as a tree (instead of a flat list).
Can anyone help me ?
Thank you.
I am looking for a parser, that can extract the abstract syntax tree from
Share
Ain’t sure if it helps, but JavaCC can generate the AST for you, it has a few Java grammar definition (like this, but take a look on the alternatives), and the developers recently added C++ code generation. That you might be able to link with C#.