Php grammar to build AST php.g
Php tree grammar to build tree walker phpTree.g
View Support page on how to build java files from grammar
and ANTLR tool.
Tool that builds AST and tree walker from java files created by ANTLR with grammar files.
It also print the AST for each child of input php file.
File types available:
View Support page on how to build and run the tool.