Please note: This wiki is currently running in test mode after an attack on January 5 2013. All passwords were reset, so you will have to use the password recovery function to get a new password. To edit wiki pages, please log in first. See the wiki attack description page for more details. If you find problems, please report them to the pydotorg-www mailing list.

PyBison - Scott Hassan - 1997

PyBison is a YACC (Yet Another Compiler Compiler) style parser. PyBison was written by Scott Hassan in 1997 and almost disappeared.

There are scattered references to it all over the web, which all seem to point to http://coho.stanford.edu/~hassan/Python/pybison.tar.gz, which forwards to the dead link http://dotfunk.com/hassan/homepage/Python

ActiveState has a copy (version 0.1.0.0 as of 2005-08-19):

PyBison - David McNab - 2004

A completely different PyBison can be found at (version 0.1.8 as of 2006-06-22):

This PyBison was designed and written by David McNab and has an OO model inspired by PLY (http://www.dabeaz.com/ply/). This PyBison has existed since April 2004. But this link is also dead.

PyBison takes input in the form of typical lex and yacc files (with some restrictions) and builds and compiles a C Python module based upon them. The compiled Python parser module calls into Python code to execute actions for each grammar production but all the lexical and parsing work happens in compiled code. The advantages of PyBison are having the full expressiveness of lex and yacc to describe your grammar and fast parser execution.

PyBison (last edited 2012-06-09 08:15:01 by bno60)