BSD Ports

textproc/py-TatSu 5.13.1 DragonFly

Generate Python parsers from grammars in a variation of EBNF

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD4CLAUSE
Categories
python, textproc
Package size
198.9 KiB, 1403.4 KiB installed

Description

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

TatSu supports left-recursive rules in PEG grammars, and it honors left-associativity in the resulting parse trees.

In the other systems

SystemPortVersion
DragonFlytextproc/py-TatSu5.13.1
FreeBSDtextproc/py-TatSu5.24.0
NetBSDwip/py-tatsu4.3.0
HardenedBSDtextproc/py-TatSu5.24.0
GhostBSDtextproc/py-TatSu5.24.0

Install

Binary package:

pkg install TatSu

From DPorts:

cd /usr/dports/textproc/py-TatSu && make install clean

Dependencies

Run dependencies 1
Required by 1