wip/py-tatsu 4.3.0 NetBSD
Python parsers from grammars in a variation of EBNF
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- wip, devel, python
Description
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. TatSu has experimental support for left-recursive rules in PEG grammars using the algorithm by Laurent and Mens. The generated AST has the expected left associativity.
In the other systems
The newest version among them is 5.13.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | wip/py-tatsu | 4.3.0 | none known | - | [email protected] | - |
| DragonFly | textproc/py-TatSu by name | 5.13.1 newest | none known | - | [email protected] | - |
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/py-tatsu && make install clean
Dependencies
Run dependencies 1
No port depends on this one.