Pop-Up Thingie

War Ensemble BBS
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Newsgroups
  3. comp.lang.python.announce
  • [Python-announce] TatSu v5.9.0 - PEG parser generator

    From =?UTF-8?Q?Juancarlo_A=C3=B1ez?=@apalala@gmail.com to comp.lang.python.announce on Sun Oct 22 10:38:16 2023
    From Newsgroup: comp.lang.python.announce

    竜 TatSu is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python.

    Why use a PEG parser? Because regular languages (those parsable with
    Python's `re` package) "cannot count". Any input with nested structures or
    with balancing of demarcations requires more than regular expressions to be parsed.

    竜 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.

    On this release:


    - validate with Python 3.12 (#313
    <https://github.com/neogeny/TatSu/pull/313>)
    - drop support for Python 3.10 (#313
    <https://github.com/neogeny/TatSu/pull/313>)
    - move build configuration to pyproject.toml (#316
    <https://github.com/neogeny/TatSu/pull/316> #317
    <https://github.com/neogeny/TatSu/pull/317>)
    - evaluate constant to a Python literal when possible (#304
    <https://github.com/neogeny/TatSu/issues/304> #320
    <https://github.com/neogeny/TatSu/pull/320>)
    - fix comments_re and eol_comments_re so they effectively can be None (
    #307 <https://github.com/neogeny/TatSu/pull/307> #312
    <https://github.com/neogeny/TatSu/issues/312> #314
    <https://github.com/neogeny/TatSu/pull/314>)
    - skip over whitespace and comments before memoizing (#305
    <https://github.com/neogeny/TatSu/issues/305> #306
    <https://github.com/neogeny/TatSu/pull/306> #309
    <https://github.com/neogeny/TatSu/pull/309> #318
    <https://github.com/neogeny/TatSu/pull/318>)
    - verify that () parses to None or is ignored (#308
    <https://github.com/neogeny/TatSu/pull/308>)


    --
    Juancarlo Añez
    mailto:apalala@gmail.com
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • Who's Online

  • Recent Visitors

    • Microbot
      Sat Aug 23 00:05:56 2025
      from Moore, Ok via Telnet
    • Noozle
      Fri Aug 22 11:07:42 2025
      from Noozle City via Telnet
    • Microbot
      Fri Aug 22 01:53:59 2025
      from Moore, Ok via Telnet
    • Microbot
      Thu Aug 21 03:21:53 2025
      from Moore, Ok via Telnet
  • System Info

    Sysop: DaiTengu
    Location: Appleton, WI
    Users: 1,064
    Nodes: 10 (0 / 10)
    Uptime: 152:51:59
    Calls: 13,691
    Calls today: 1
    Files: 186,936
    D/L today: 2,525 files
    (731M bytes)
    Messages: 2,411,051

© War Ensemble BBS, 2025