py27-tpg (python/py-tpg) Add to my watchlist

lexical and syntactic parser generator for Python

Toy Parser Generator is a lexical and syntactic parser generator for Python. With a very clear and simple syntax, you can write an attributed grammar that is translated into a recursive descendant parser. TPG generated code is very closed to the original grammar. This means that the parser works like the grammar. A grammar rule can be seen as a method of the parser class, symbols as method calls, attributes as method parameters and semantic values as return values. You can also add Python code directly into grammar rules and build abstract syntax trees while parsing.

Version: 3.2.2 License: LGPL-2.1+ GitHub
Maintainers No Maintainer
Categories python
Homepage https://cdsoft.fr/tpg/
Platforms {darwin any} freebsd
Variants -

Subport(s) (1)


"py27-tpg" depends on

lib (1)
build (1)

Ports that depend on "py27-tpg"



Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0