Handy shit of the day: Lemon.
“The Lemon program is an LALR(1) parser generator. […] Both the source code to lemon itself and the code that lemon generates are in the public domain. […] Lemon is maintained as part of the SQLite project. ”
Why to give a shit in a nutshell, from the docs:
* In yacc and bison, the parser calls the tokenizer. In Lemon, the tokenizer calls the parser.
* Lemon uses no global variables. Yacc and bison use global variables to pass information between the tokenizer and parser.
* Lemon allows multiple parsers to be running simultaneously. Yacc and bison do not.
No comments yet.