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


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

Grako 3.7.0 released

Started byJuancarlo Añez <juancarlo.anez@gmail.com>
First post2016-03-10 17:01 -0430
Last post2016-03-10 17:01 -0430
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

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

#2066 — Grako 3.7.0 released

FromJuancarlo Añez <juancarlo.anez@gmail.com>
Date2016-03-10 17:01 -0430
SubjectGrako 3.7.0 released
Message-ID<mailman.0.1457683419.26429.python-announce-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web