Name : python-tpg
| |
Version : 3.1.0
| Vendor : Fedora Project
|
Release : 2.fc4
| Date : 2006-08-11 17:56:45
|
Group : Development/Libraries
| Source RPM : python-tpg-3.1.0-2.fc4.src.rpm
|
Size : 0.61 MB
| |
Packager : Fedora Project < http://bugzilla_redhat_com/bugzilla>
| |
Summary : A Python \"toy parser generator\"
|
Description :
Toy Parser Generator is a lexical and syntactic parser generator for Python. 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 usefull 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: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/extras/4/x86_64 |