Path: csiph.com!weretis.net!feeder7.news.weretis.net!news.unit0.net!fu-berlin.de!uni-berlin.de!not-for-mail From: =?UTF-8?Q?Juancarlo_A=C3=B1ez?= Newsgroups: comp.lang.python.announce Subject: TatSu 5.0.0 released Date: Tue, 28 Jan 2020 12:35:04 -0400 Lines: 51 Approved: python-announce-list@python.org Message-ID: <158023174760.28761.python-announce-list@python.org> Reply-To: python-list@python.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de pbSIX8P5T06txUBQyrNGIQgVwHFSKx1+W1/llBn9sEWw== X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'string': 0.05; 'eventually': 0.07; 'first,': 0.07; '<>)': 0.09; 'ast': 0.09; 'skip:o 40': 0.09; 'solves': 0.09; 'tested': 0.09; 'url- ip:140.82.118.4/32': 0.12; 'url-ip:140.82.118/24': 0.12; 'url- ip:140.82/16': 0.12; 'url:wiki': 0.13; 'url-ip:140/8': 0.14; 'python': 0.14; '*a\xc3\xb1ez*': 0.16; '3.8.': 0.16; '8bit%:26': 0.16; 'algorithm': 0.16; 'a\xc3\xb1ez': 0.16; 'from:addr:apalala': 0.16; 'from:name:juancarlo a\xc3\xb1ez': 0.16; 'juancarlo': 0.16; 'parser': 0.16; 'received:mail-io1-xd2d.google.com': 0.16; 'skip:0 210': 0.16; 'skip:s 130': 0.16; 'subject:released': 0.16; 'url:library': 0.16; 'url:github': 0.18; 'missing': 0.19; 'url- ip:45.55.99.72/32': 0.19; 'url-ip:45.55.99/24': 0.19; 'skip:( 20': 0.20; "doesn't": 0.20; 'parse': 0.24; 'to:addr:python-announce- list': 0.24; '8bit%:19': 0.24; 'error': 0.24; 'url-ip:45.55/16': 0.26; 'import': 0.28; '<>.': 0.28; 'supported': 0.28; 'using': 0.28; 'url-ip:45/8': 0.29; '8bit%:50': 0.29; 'object': 0.29; 'sets': 0.29; 'url-ip:91.198.174.192/32': 0.29; 'url:7': 0.29; 'url-ip:151.101.36.223/32': 0.29; 'url-ip:151.101.36/24': 0.29; 'url:3': 0.30; 'message-id:@mail.gmail.com': 0.31; 'module': 0.33; 'received:google.com': 0.34; 'but': 0.34; 'from:addr:gmail.com': 0.36; 'versions': 0.36; 'used': 0.36; '8bit%:22': 0.37; 'should': 0.37; 'url-ip:151.101/16': 0.37; 'url-ip:151/8': 0.37; '8bit%:12': 0.37; 'url:en': 0.38; 'does': 0.38; '8bit%:14': 0.39; 'url:python': 0.39; 'include': 0.39; 'skip:l 10': 0.60; 'previous': 0.60; 'skip:t 30': 0.62; 'under': 0.62; 'enable': 0.62; 'remove': 0.62; 'left': 0.62; 'now,': 0.64; '8bit%:27': 0.64; 'skip:t 20': 0.65; 'improve': 0.65; 'skip:e 60': 0.67; 'url:issues': 0.67; 'url:re': 0.67; 'against': 0.67; 'url:info': 0.68; 'longer': 0.69; 'url-ip:lookup error': 0.70; 'skip:e 20': 0.72; '8bit%:7': 0.74; 'supports': 0.74; '8bit%:1': 0.84; ' Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Xref: csiph.com comp.lang.python.announce:3311 =E7=AB=9C TatSu is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat ) PEG parsers in Python . =E7=AB=9C TatSu can compile a grammar stored in a string into a tatsu.grammars.Grammar object that can be used to parse any given input, much like the re module does with regular expressions, or it can generate a Python module that implements the parser. =E7=AB=9C TatSu supports left-recursive rules in PEG grammars using the algorithm by *Laurent* and *Mens*= . The generated AST has the expected left associativity. *CHANGES* - =E7=AB=9C TatSu is now only tested against Python 3.8. Earlier version= s of Python are now deprecated, and Python 2.X versions are no longer support= ed ( @apalala ). - Apply nameguard only if token[0].isalpha(). This solves a regression afecting previous TatSu and Grako grammars (@apalala ). - Remove pygraphviz from develoment requirements, as it doesn't build under Py38 (@apalala ) - #56 Include missing tatsu/g2e/antlr.ebnf in distribution (@apalala ) - #138 Reimplement the calculation of FIRST, FOLLOW, and LOOKAHEAD sets using latest theories. For now, this should improve parser error reporting, but should eventual= ly enable the simplification of parsing of leftrec grammars (@apalala ). - #153 Import ABCs from collections.abc (@tirkarthi ) - Remove support for Cythonand pypy3 (@apalala ). --=20 Juancarlo *A=C3=B1ez*