Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2066

Grako 3.7.0 released

From Juancarlo Añez <juancarlo.anez@gmail.com>
Newsgroups comp.lang.python.announce
Subject Grako 3.7.0 released
Date 2016-03-10 17:01 -0430
Message-ID <mailman.0.1457683419.26429.python-announce-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Grako 3.7.0 released Juancarlo Añez <juancarlo.anez@gmail.com> - 2016-03-10 17:01 -0430

csiph-web