Size: 1524
Comment: Added FlexModule and BisonModule link
|
Size: 1524
Comment: Realised fbmodule is a way to plug in C/C++ parsers, moved to the correct sect.
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
* ["FlexModule and BisonModule"] (http://www.cs.utexas.edu/users/mcguire/software/fbmodule/) | |
Line 27: | Line 26: |
* ["FlexModule and BisonModule"] (http://www.cs.utexas.edu/users/mcguire/software/fbmodule/) |
Small discussion and evaluation of different parsers.
["shlex"] (http://www.python.org/doc/current/lib/module-shlex.html)
["Plex"] (http://www.cosc.canterbury.ac.nz/~greg/python/Plex)
["Spark"] (http://pages.cpsc.ucalgary.ca/~aycock/spark/)
["Yapps"] (http://theory.stanford.edu/~amitp/Yapps/)
["kwParsing"] (http://www.pythonpros.com/arw/kwParsing/kwParsing.html)
PyBison (http://www-db.stanford.edu/~hassan/Python/pybison.tar.gz)
["Trap"] (http://www.first.gmd.de/smile/trap/)
["PLY"] (http://systems.cs.uchicago.edu/ply/)
ToyParserGenerator (http://christophe.delord.free.fr/en/tpg/)
["Martel"] (http://biopython.org/~dalke/Martel/)
TextTools by Marc-André Lemburg ("mx") is not exactly a parser like we're used to, but it is a fast text-processing engine: http://www.lemburg.com/files/python/mxTextTools.html
Also see Python ParserSig @ http://www.python.org/sigs/parser-sig/ to discuss and select a standard parser generator for Python.
For some speed up one may use other parser generator systems and plug them in as modules.
For example:
["ANTLR"] (http://www.antlr.org/) generates C++ output (an older version with C output also available)
["Spirit"] (http://spirit.sourceforge.net/) framework for writing EBNF as C++ code
["FlexModule and BisonModule"] (http://www.cs.utexas.edu/users/mcguire/software/fbmodule/)