Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2518
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Juancarlo Añez <juancarlo.anez@gmail.com> |
| Newsgroups | comp.lang.python.announce |
| Subject | TatSu 4.2.0 |
| Date | Sun, 4 Jun 2017 17:17:54 -0400 |
| Lines | 46 |
| Approved | python-announce-list@python.org |
| Message-ID | <mailman.41.1496664086.27219.python-announce-list@python.org> (permalink) |
| References | <CAN1YFWt=dXnkqnkss-xGTx6JMCh==HH24qB7BWR2WDMjgqSO9Q@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de z/aZVN0OP8n6pCdOhuUhlgqtP7n6DIZ46PbVcZT2m8pA== |
| Return-Path | <juancarlo.anez@gmail.com> |
| X-Original-To | python-announce-list@python.org |
| Delivered-To | python-announce-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'contexts': 0.09; 'docs.': 0.09; 'implements': 0.09; 'input,': 0.09; 'optimizing': 0.09; 'outputs': 0.09; 'parsers': 0.09; 'rules.': 0.09; 'advance': 0.10; 'stored': 0.11; '*any*': 0.16; 'expressions,': 0.16; 'parser.': 0.16; 'skipped': 0.16; 'successor': 0.16; 'string': 0.17; 'example.': 0.18; 'skip:` 20': 0.18; 'typing': 0.18; 'parse': 0.22; 'parser': 0.22; 'reduced': 0.22; 'whitespace': 0.22; 'matching': 0.23; '(the': 0.23; 'module': 0.23; 'message- id:@mail.gmail.com': 0.24; 'syntax.': 0.29; 'character': 0.29; 'received:google.com': 0.32; 'next': 0.32; 'comments': 0.33; 'compile': 0.33; 'tool': 0.34; 'changed': 0.35; 'regular': 0.36; 'useful': 0.36; 'files': 0.36; 'takes': 0.37; 'add': 0.37; 'handle': 0.37; 'large': 0.38; 'to:addr:python.org': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'more': 0.62; 'sample': 0.65; 'to:addr:python-announce-list': 0.72; 'skip:| 10': 0.84; 'unifying': 0.84; 'variation': 0.84; 'step.': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IUfgZBsoVq1n3gfhTzFAeBnwSJDIXO7gMLk3nGGnUEo=; b=bYulCZV0/Cto6BzqIyhXWPz2Vu5gKZSYZfwRC5FAUo/0clHVzhWFRjiLn2OXERvaQx 1e6AHOcF3/7pws+9NM1UtVYTzSb0U+T2gYbltgf13ii5asIEloJe2ZXvHKZf/9R9PJvo Gc4HWYDs0upX7wv1rag652+ksgkioayfcBejbrHb+LNAx1seHKT0YIjbUL2jcezmnQ7A BFF1TvfjF+bK/Y5+OTPuMf4U3tYTVL0OtSYRgPymUgvcpZ6SWxlIOBCdwDUn5SiSvcGa 7s8+gS0iDDWvuBBwLz1CguMRHzSUR+65I/lYCes8bBA4vycLDa/nFUAWdEInd+qURazH DnMg== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IUfgZBsoVq1n3gfhTzFAeBnwSJDIXO7gMLk3nGGnUEo=; b=P0O2JfKfCdKy2WWHDpl/lu2An9TGe8Syn73XquM41bHgpr9twdq0jh4rVUY2mL+FaQ Kqc+jBPWLsVXeB6imdmy+kOMLDPQr+Ju+5wITLkALxtqmucvR+ozlJglH/RYoX6vp24M GXWKc55GLH2nje7qAliT1JsoEx4kLz9/BDoPsmm3s3TGOu4obwehssOYNu5bZRqt1P89 7mcSjsEgZF5+HaetAm/3pQkctNFGEJAdvHQJjKzqFntRzw7bjN9SUe5IuhjegkQqXGcF 7vk9sZXxzgbHbxBIrznKxiMpekSqSLiZMSPfbrwaau/u4sKONu2O4iQ58gLWaJovprGw nrFw== |
| X-Gm-Message-State | AODbwcD/SzUjqWJY+nAaQON12SQJeajQjoPrAmodwau1Z0yMlm8UNDcg Jvrm8zihiAwhStEEE/Tjhbe+npBtfDEnZ80= |
| X-Received | by 10.84.215.158 with SMTP id l30mr11210880pli.266.1496611094747; Sun, 04 Jun 2017 14:18:14 -0700 (PDT) |
| X-Mailman-Approved-At | Mon, 05 Jun 2017 08:01:25 -0400 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.24 |
| X-BeenThere | python-announce-list@python.org |
| X-Mailman-Version | 2.1.24 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-announce-list/> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAN1YFWt=dXnkqnkss-xGTx6JMCh==HH24qB7BWR2WDMjgqSO9Q@mail.gmail.com> |
| Xref | csiph.com comp.lang.python.announce:2518 |
Show key headers only | View raw
Added ~~~~~ * Parse speeds on large files reduced by 5-20% by optimizing parse contexts and closures, and unifying the AST_ and CST_ stacks. * Added the *"skip to"* expression ( ``->``), useful for writing *recovery* rules. The parser will advance over input, one character at time, until the expression matches. Whitespace and comments will be skipped at each step. * Added the *any* expression ( ``/./``) for matching the next character in the input. * The ANTLR_ grammar for Python3_ to the `g2e` example, and udate `g2e` to handle more ANTLR_ syntax. * Check typing with Mypy_. Changed ~~~~~~~ * Removed the very old _regex_ example. * Make parse traces more compact. Add a sample to the docs. * Explain Grako_ compatibility in docs. |TatSu| ======= |TatSu| (the successor to Grako_) is a tool that takes grammars in a variation of `EBNF`_ as input, and outputs `memoizing`_ (`Packrat`_) `PEG`_ parsers in `Python`_. |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. -- Juancarlo Añez
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
TatSu 4.2.0 Juancarlo Añez <juancarlo.anez@gmail.com> - 2017-06-04 17:17 -0400
csiph-web