PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

parser and lexer generators for PHP

Note: This article was originally published at Planet PHP on 24 October 2010.
Planet PHP

[Update: I've put these parser/lexer tools on BitBucket and Github; enjoy!]

From time to time, I find that I need to put a parser together. Most of the time I find that I need to do this in C for performance, but other times I just want something convenient, like PHP, and have been out of luck.

This thanksgiving I set out to remedy this and adapted lemon to optionally emit PHP code, and likewise with JLex.

You need a C compiler to build lemon and a java compiler and runtime to build and ...

Continue reading on wezfurlong.org