Grako (for grammar compiler) is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python.
In this release: * Added suport for `constant` expressions which don't consume any input yet return the specified constant. * Now an empty closure ({}) consumes no input and generates an empty list as AST. * Removed the --binary command-line option. It went unused, it was untested, and it was incorrectly implemented. * Generated parsers pass on KeyboardInterrupt. * Moved the bulk of the entry code for generated parsers to util.generic_main(). This allows for the verbose code to be verified by the usual tools. * Deprecate {e}* and {e}- by removing them from the documentation. * Added the Python-inspired join operator, s.{e}, as a convenient syntax for parsing sequences with separators. Links: https://pypi.python.org/pypi/grako/ https://bitbucket.org/apalala/grako/ -- Juancarlo *Añez* tel:+58(414)901-2021 skype:juancarloanez -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/