Php-parser written in go - release 0.2.0 is now available

https://github.com/z7zmey/php-parser was covered by the tests.

I separated alternative syntax nodes for ‘while’, ‘for’, ‘foreach’, and 'switch’
Traverser, lexer, PHP5 and PHP7 parsing rules were fully covered by tests.

What’s it used for?

1 Like

It can be used to write static code analysis tools, code formatting tools or PHP to another language transpiler or AST based diff tool and semantic merge tool…
For example, I am planning to use it to build and visualize UML and call graph.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.