Go to file
2018-01-05 13:22:38 +02:00
comment add comment struct 2018-01-03 00:12:28 +02:00
node handle node position in file 2018-01-05 13:01:52 +02:00
parser handle node position in file 2018-01-05 13:01:52 +02:00
test/node/scalar name nodes 2017-12-05 23:36:28 +02:00
token handle node position in file 2018-01-05 13:01:52 +02:00
.gitignore ignore example.php 2018-01-05 13:22:38 +02:00
dumper.go remove name field 2018-01-04 20:29:07 +02:00
LICENSE Create LICENSE 2018-01-02 14:37:19 +02:00
main.go walker 2017-12-28 01:23:32 +02:00
Makefile improve Makefile allow call make run PHPFILE=/path/to/php/file/to/parse 2018-01-05 13:17:59 +02:00
README.md Update README.md 2018-01-05 11:53:00 +02:00

PHP-Parser

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

Roadmap

  • Lexer
  • PHP 7 syntax analyzer
  • AST nodes
  • AST visitor
  • AST dumper
  • node position
  • handling comments
  • Tests
  • Documentation
  • PHP 5 syntax analyzer
  • Code flow graph
  • Pretty printer