竜 TatSu is a tool that takes grammars in a variation of EBNF as input, and
outputs memoizing (Packrat) PEG parsers in Python.
竜 TatSu inspired the PEG parser in Python 3.9.

New in 竜 TatSu 5.6.0

*   Several important refactorings in ``contexts.ParseContext``
*   Make ``ignorecase`` settings apply to defined ``@@keywords``
*   Move checking of keywords used as names into ``ParseContext``
*   Output of generated parsers again matches that of model parsers
*   Improve *"expecting one of:"* messages so elements are in declaration
order
*   Stop code generation if there are closures over possibly empty
expressions
*   Preserve name declaration order in returned ``AST``
*   Update the bootstrap parser (``tatsu/bootstrap.py``) to the generated
parser
*   Now generated parser's ``main()`` only outputs the JSON for the parse
``AST``
*   Minor version bumped in case the many fixes break
backwards-compatibility
*   Minor documentation issues fixed
*   All tests run with Python 3.8, 3.9, 3.10

https://pypi.org/project/tatsu/
https://tatsu.readthedocs.io/en/stable/
https://github.com/neogeny/TatSu

---
_______________________________________________
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com

Reply via email to