Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2518 > unrolled thread
| Started by | Juancarlo Añez <juancarlo.anez@gmail.com> |
|---|---|
| First post | 2017-06-04 17:17 -0400 |
| Last post | 2017-06-04 17:17 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
TatSu 4.2.0 Juancarlo Añez <juancarlo.anez@gmail.com> - 2017-06-04 17:17 -0400
| From | Juancarlo Añez <juancarlo.anez@gmail.com> |
|---|---|
| Date | 2017-06-04 17:17 -0400 |
| Subject | TatSu 4.2.0 |
| Message-ID | <mailman.41.1496664086.27219.python-announce-list@python.org> |
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 top | Article view | comp.lang.python.announce
csiph-web