php
php copied to clipboard
Parser for PHP written in Go
I tried to rebuild the package. It requires some work to built it again. I suppose you know about https://go.dev/doc/go-get-install-deprecation
Was looking at this project to look into making a fast PHP autocomplete daemon. Out of curiosity, any reason why the lexer is running in a Goroutine? Wouldn't it be...
Hello How run this library? Its get file and parse file by file, and don't parse a project? Thank you
Hi, I'm using your tool to parse PHP code with the secret hope of building some kind of static analysis tool with it; I wondered if it would be feasible...
Several places in the code look for ast.Foo but also *ast.Foo. Example in ast/printer/printer.go: ``` go case ast.AssignmentExpression: p.PrintAssignmentExpression(&n) case *ast.AssignmentExpression: p.PrintAssignmentExpression(n) ``` At the end of the day we...
test file: ``` php ``` got: ``` unexpected class member PHP End:"?>" ```
test file: ``` php ``` got: ``` Found echo:"echo", expected [;] ```