How about a php5 parser-generator
am 09.01.2008 20:46:21 von seasideHi,
I'll probably release a php5-based LL(1) parser generator - if there
is general interest. Please post a comment, in case...
Some details:
- Pure PHP5
- Parses LL(1)
- Lexical definitions using regular expresions
- Syntax using EBNF with {...}, [...], (...), +...
- php mix-in code possible
Will be called at the respective points of the parse tree and has
access to
certain parts of the parsing process(-structures)
As a matter of fact, LEX/YACC uses LALR(1) and is stronger, but this
project enables simple php integration
Best regards