Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2502
| From | Juancarlo Añez <apalala@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python.announce |
| Subject | TatSu 4.1.0 |
| Date | 2017-05-21 13:00 -0400 |
| Message-ID | <mailman.21.1495454568.3009.python-announce-list@python.org> (permalink) |
| References | <CAN1YFWs0v0=uKvDXOa-iGSZfb+ASG=9K8o-WReeyEcu7aHPOHA@mail.gmail.com> |
TatSu v4.1.0 was released * https://pypi.org/project/tatsu/ * http://tatsu.readthedocs.io/en/latest/ * https://github.com/neogeny/TatSu TatSu (the successor to Grako) is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python. CHANGES * New support for *left recursion* with correct associativity. All test cases pass. * Left recursion is enabled by default. Use the``@@left_recursion :: False`` directive to diasable it. * Renamed the decorator for generated rule methods to ``@tatsumasu``. * Refactored the ``tatsu.contexts.ParseContext`` for clarity. * The ``@@ignorecase`` directive and the ``ignorecase=`` parameter no longer appy to regular expressions (patterns) in grammars. Use ``(?i)`` in the pattern to ignore the case in a particular pattern. * Now ``tatsu.g2e`` is a library and executable module for translating `ANTLR`_ grammars to **TatSu**. * Modernized the ``calc`` example and made it part of the documentation as *Mini Tutorial*. * Simplified the generated object models using the semantics of class attributes in Python. -- Juancarlo *Añez*
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
TatSu 4.1.0 Juancarlo Añez <apalala@gmail.com> - 2017-05-21 13:00 -0400
csiph-web