BSD Ports

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

SystemPortVersion
FreeBSDtextproc/py-TatSu5.24.0
DragonFlytextproc/py-TatSu5.13.1
HardenedBSDtextproc/py-TatSu5.24.0
GhostBSDtextproc/py-TatSu5.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.24.05.24.0-5.13.15.24.0
FreeBSD:14:quarterly5.24.05.24.0n/a5.13.15.24.0
FreeBSD:15:latest5.24.05.24.0n/a5.13.15.13.1
FreeBSD:15:quarterly5.24.05.24.0n/an/an/a
FreeBSD:16:latest5.24.05.24.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
tatsu-5.24.0.tar.gz390039e79230f6b70d570b1314075ac1a0ca4088730955981ae5d0b6ab2f88a293117e
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
8000a86856 Yuri Victorovich textproc/py-TatSu: update 5.15.1 → 5.24.0