Development/Libraries

python-tpg: A Python "toy parser generator"

Name:python-tpg Vendor:
Version:3.0.6 License:LGPL
Release:1.al2 URL:http://christophe.delord.free.fr/en/tpg/
Summary
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.

Arch: noarch

Download:python-tpg-3.0.6-1.al2.noarch.rpm
Build Date:Tue Jan 31 08:32:38 2006
Packager:
Size:1.12 MiB

Arch: src

Download:python-tpg-3.0.6-1.al2.src.rpm
Build Date:Tue Jan 31 08:22:52 2006
Packager:
Size:368 KiB

Changelog

* Mon Jan 30 16:00:00 2006 Shahms E. King <shahms{%}shahms{*}com> 3.0.6-1
- update to upstream 3.0.6
* Thu May 12 17:00:00 2005 Shahms E. King <shahms{%}shahms{*}com> 3.0.5-4
- rebuilt, add dist tag
* Thu Apr 7 17:00:00 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt

Listing created by RepoView-0.5.2-1.fc5