php-parser/README.md
2018-01-09 18:36:06 +02:00

889 B

PHP-Parser

Exago

A Parser for PHP written in Go inspired by Nikic PHP Parser

Library uses cznic/golex and goyacc

Features:

  • Fully support PHP7 syntax (PHP5 in future)
  • Abstract syntax tree representation
  • Traversing AST

Roadmap

  • Lexer
  • PHP 7 syntax analyzer (completely)
  • AST nodes
  • AST visitor
  • AST dumper
  • node position
  • handling comments
  • Tests
  • Error handling
  • Stabilize api
  • Documentation
  • PHP 5 syntax analyzer
  • Code flow graph
  • Pretty printer