Skip to content

Releases: neogeny/TatSu

Fixes and enhancements

02 May 15:58
Compare
Choose a tag to compare
  • Honor `@@Whitespace::None`` in generated Python parsers
  • Pre-compile regular expressions for comments

Bug fix release

18 Mar 22:38
9f0ad49
Compare
Choose a tag to compare
  • make sure that the names in @@keywords are always of type str
  • fix documentation bugs
  • optimize asjson()

Only install main package

02 Jan 18:15
Compare
Choose a tag to compare

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

Enhancements to parallel processing

20 Dec 10:51
Compare
Choose a tag to compare
  • [parproc] enhancements

Fix bug now that models honor builtin types

14 Dec 23:33
Compare
Choose a tag to compare

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

11 Dec 01:43
4181d08
Compare
Choose a tag to compare

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

28 Nov 19:47
Compare
Choose a tag to compare

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

Bug fix

26 Nov 17:32
Compare
Choose a tag to compare

print() statements stranded in buffering.py

Fix incorrect escaping of @@whitespace

26 Nov 15:41
Compare
Choose a tag to compare
  • [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

Add missing files to distribution

23 Nov 23:21
Compare
Choose a tag to compare
  • add URLs to pyproject.toml
  • include ./examples in source distributions