After nearly two years I’ve finally gotten around to releasing my PHP JavaScript parser, although documentation is still thin on the ground.
- Download jParser 1.0.0 (recommended)
- Download jParser devel package (Full source and build scripts)
- See the library examples running at apps.timwhitlock.info/jparser
The library has been split in two:
- jTokenizer – A JavaScript tokenizer designed to mimic the PHP tokenizer.
- jParser – The fully blown JavaScript syntactical parser which generates a parse tree.