textproc/py-TatSu 5.24.0 FreeBSD
Generate Python parsers from grammars in a variation of EBNF
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8000a86856- License
- BSD4CLAUSE
- Categories
- textproc, python
- Package size
- 512.6 KiB, 3027.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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-TatSu | 5.24.0 |
| DragonFly | textproc/py-TatSu | 5.13.1 |
| HardenedBSD | textproc/py-TatSu | 5.24.0 |
| GhostBSD | textproc/py-TatSu | 5.24.0 |
Install
Binary package:
pkg install tatsu
From the ports tree:
cd /usr/ports/textproc/py-TatSu/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tatsu>0:textproc/py-TatSu
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.24.0 | 5.24.0 | - | 5.13.1 | 5.24.0 |
| FreeBSD:14:quarterly | 5.24.0 | 5.24.0 | n/a | 5.13.1 | 5.24.0 |
| FreeBSD:15:latest | 5.24.0 | 5.24.0 | n/a | 5.13.1 | 5.13.1 |
| FreeBSD:15:quarterly | 5.24.0 | 5.24.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.24.0 | 5.24.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 20
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/py-wheel
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tatsu-5.24.0.tar.gz | 390039 | e79230f6b70d570b1314075ac1a0ca4088730955981ae5d0b6ab2f88a293117e |
Master sites 1
- PYPI