TatSu Versions Save

竜 TatSu generates Python parsers from grammars in a variation of EBNF

v5.12.0

1 month ago
  • make sure that the names in @@keywords are always of type str
  • fix documentation bugs
  • optimize asjson()

v5.11.3

4 months ago

In #333 it was reported that pip install tatsu would also install a test package. This is fixed now.

v5.11.2

4 months ago
  • [parproc] enhancements

v5.11.1

5 months ago

Do not to resolve a model name when the ::Annotation in the grammar is a basic type like int or bool.

v5.11.0

5 months ago

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

v5.10.6

5 months ago

The undocumented parproc module helps to easily run parsing and translation batches in parallel.

v5.10.5

5 months ago

print() statements stranded in buffering.py

v5.10.4

5 months ago
  • [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

v5.10.3

5 months ago
  • add URLs to pyproject.toml
  • include ./examples in source distributions

v5.10.2

5 months ago
  • use more ruff rules
  • lint unit tests
  • lint examples
  • lint the generated parser
  • make sure generated parsers and models pass ruff