Releases: neogeny/TatSu
Releases · neogeny/TatSu
v5.12.2
Fixes and enhancements
- Honor `@@Whitespace::None`` in generated Python parsers
- Pre-compile regular expressions for comments
Bug fix release
- make sure that the names in
@@keywords
are always of typestr
- fix documentation bugs
- optimize
asjson()
Only install main package
In #333 it was reported that pip install tatsu
would also install a test
package. This is fixed now.
Enhancements to parallel processing
- [parproc] enhancements
Fix bug now that models honor builtin types
Do not to resolve a model name when the ::Annotation
in the grammar is a basic type like int
or bool
.
new code and model generation
This release uses the new procedural (nor declarative) code and model generation throughout.
The previous codegen
remains available and unchanged for backwards compatibility.
- [walkrers] make walk_children public
- [mixins][indent] allow control over the amount of indentation
- [mixins][indent] allways trim left spacing in arguments
- [docs] deprecate declarative translation abd refactor
- [ngcodegen][model] use topological sort for order of model classes
- [tool] use
ngcodegen
- [test] use
ngcodegen
Upgrade the parproc module
The undocumented parproc
module helps to easily run parsing and translation batches in parallel.
Bug fix
Fix incorrect escaping of @@whitespace
- [buffering] do not re.escape regex for whitespace
- [tarsu.grammar] specify missing @@Whitespace
- [bootstrap] use generated parser that contains def for @@Whitespace
- [buffering] keep default for whitespace but honor None correctly