Are there any Parsing Expression Grammar (PEG) libraries for Javascript or PHP?

Posted by Peter J. Wasilko on Stack Overflow See other posts from Stack Overflow or by Peter J. Wasilko
Published on 2008-09-17T03:15:37Z Indexed on 2010/03/19 9:11 UTC
Read the original article Hit count: 209

I find myself drawn to the Parsing Expression Grammar formalism for describing domain specific languages, but so far the implementation code I've found has been written in languages like Java and Haskell that aren't web server friendly in the shared hosting environment that my organization has to live with.

Does anyone know of any PEG libraries or PackRat Parser Generators for Javascript or PHP? Of course code generators in any languages that can produce Javascript or PHP source code would do the trick.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about php