Releases: neogeny/TatSu
Releases · neogeny/TatSu
Add missing files to distribution
- add URLs to
pyproject.toml
- include
./examples
in source distributions
Extended linting
- use more
ruff
rules - lint unit tests
- lint examples
- lint the generated parser
- make sure generated parsers and models pass
ruff
bug fix and optimizations
- [exceptions] generators in exceptions break multiprocessing
- [buffering] optimize use of regular expressions
Rework the asjson() protocol for JSON views of models
This release adds fixes, enhancements, optimizations, and documentation to the asjson()
protocol that is used to view ASTs and models.
The bump in the minor version number because the changes to asjson()
will likely break code that relies on the __json__()
protocol and thus create a backwards incompatibility.
Resolve regressions with parser code generation
- [codegen] pass whitespace setting to parser
| * [codegen] restore default Buffer class
Fix build and distribution
Fix errors in the move to pyproject.toml
Features and regression fixes
- validate with Python 3.12 (#313)
- drop support for Python 3.10 (#313)
- move build configuration to
pyproject.toml
(#316 #317) - evaluate
constant
to a Python literal when possible (#304 #320) - fix
comments_re
andeol_comments_re
so they effectively can beNone
(#307 #312 #314) - skip over whitespace and comments before memoizing (#305 #306 #309 #318)
- verify that
()
parses toNone
or is ignored (#308)
Synchronize with v5.7.4
This release makes TatSu compatible with Python >= 3.8, but still states that the compatible version is Python >= 3.10.
Restore compatibility with Python >= 3.8
v5.7.4 [release] bum up version number for development
Fixes to walkers
- Fix walker cache logic in
NodeWalker
(@by-Exist)