TatSu 4.1.0

6 views
Skip to first unread message

Juancarlo Añez

unread,
May 21, 2017, 1:30:15 PM5/21/17
to python-venezuela

竜 TatSu (the successor to Grako) is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing(PackratPEG parsers in Python.


4.1.0 @ 2017-05-21

Added

  • New support for left recursion with correct associativity. All test cases pass.
  • Left recursion is enabled by default. Use the @@left_recursion :: False directive to diasable it.
  • Renamed the decorator for generated rule methods to @tatsumasu.
  • Refactored the tatsu.contexts.ParseContext for clarity.
  • The @@ignorecase directive and the ignorecase= parameter no longer appy to regular expressions (patterns) in grammars. Use (?i) in the pattern to ignore the case in a particular pattern.
  • Now tatsu.g2e is a library and executable module for translating ANTLR grammars to TatSu.
  • Modernized the calc example and made it part of the documentation as Mini Tutorial.
  • Simplified the generated object models using the semantics of class attributes in Python_


--
Juancarlo Añez
tel:+58(414)901-2021
skype:juancarloanez
Reply all
Reply to author
Forward
0 new messages