Skip to content

Releases: neogeny/TatSu

Optimizations, deprecations, and refactoring

04 Jan 13:29
79ebf1e

Choose a tag to compare

  • [refactor] fix imports of asjson() and related
  • [pipeline] add py312, py311, py310
  • [collections] allow imports of BoundedDict from collections
  • [refactor] remove unused tail module
  • [refactor] remove OrderedSet
  • [test] add coverage
  • [refactor] move modules to proper packages
  • [docs] fix outdated and syntax
  • [refactor] move all asjson functionality to its own module

Enhancements to cut , memos, and ParserConfig

02 Jan 11:21

Choose a tag to compare

  • [contexts] reinstate cache pruning on cut (#379)
  • [docs] Document ParserConfig configurations (#378)
  • [config] Move ParserConfig to its own tatsu.parserconfig module
  • [parrserconfig] remove unused attribute owner
  • [grammars] always set a name for the grammar
  • [tokenizing] add the unimplemented line_index()
  • [parserconfig] add memoization parameter/option and directive (#377)
  • [parsing] remove the FailedCut exception and the associated logic (#376)

Bounded memos and scoped cut

25 Dec 23:32

Choose a tag to compare

  • use a bounded dict for memos
  • do not clear memos upon cut
  • limit cuts to the closest choice
  • use temp directory instead of cwd for test storage (#370
  • move GitHub workflow to 3.14
  • remove filesystem execute permission from two non-script files (#368)
  • set execute bit on two script-like library sources that have shebangs (#369)
  • fix non-thread-safe access of globals() (#365)
  • [ci] modernize (#359)

Bug fixing, minor upgrades, and maintenance

25 Sep 22:34
0e9aaa9

Choose a tag to compare

  • Bug fixes and suggestions by contributors
  • Python 3.14 compatibility
  • Compatibility with Python down to 3.10 kept

v5.13.1: [dist] up version to 5.13.1 for release (#360)

10 Jan 22:19
c1d4631

Choose a tag to compare

  • be compatible with Python 3.10
  • promote TatSu-LTS to support of previous versions of Python

v5.13.0: Release 5.13.0 (#355)

06 Jan 22:56
bf7a6d1

Choose a tag to compare

  • remove comments_re and eol_comments_re from parser configuration (ParserConfig). Use comments and/or eol_comments instead (#351)
  • do not apply re.MULTILINE to compiled regexes. Users must add (?m) to the expressions for multiline (#351)
  • cache compiled regexes for performance
  • fix bug in positive joins (#342)
  • test with Python 3.13 and latest libraries

v5.12.2

06 Nov 11:44

Choose a tag to compare

Test agains Py313 and latest libraries

Fixes and enhancements

02 May 15:58

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

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

Choose a tag to compare

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