Name : python3-tpg
| |
Version : 3.2.2
| Vendor : Fedora Project
|
Release : 7.fc29
| Date : 2018-07-15 07:18:39
|
Group : Development/Libraries
| Source RPM : python-tpg-3.2.2-7.fc29.src.rpm
|
Size : 0.56 MB
| |
Packager : Fedora Project
| |
Summary : A Python \"toy parser generator\"
|
Description :
Toy Parser Generator is a lexical and syntactic parser generator for Python3. This generator was born from a simple statement: YACC is to complex to use in simple cases (calculators, configuration files, small programming languages, ...).
TPG can very simply write parsers that are useful for most every day needs (even if it can\'t make your coffee). 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.
|
RPM found in directory: /vol/rzm3/linux-fedora-buffet/alt/risc-v/repo/fedora/29/25511/riscv64/Packages/p |