A fast and forgiving PHP7 recursive descent parser implemented in Typescript.
The parser outputs a parse tree of phrases (branches) and tokens (leaves). The complete source code is represented by the tree including whitespace.
- Modern browser and nodejs compatibility.
- Error tolerant and high performance.
- Output representative of full source code.
- Adherance to the PHP language specifications.
- Prefer error tolerance over enforcement of language constraints.