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 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.
WWW: http://christophe.delord.free.fr/en/tpg/
Bye bye abandonwares (part 3)
2011-08-01 deskutils/gkrellm-timers: No more public distfile
2011-08-01 deskutils/multi-backgrounds-daemon: Looks like an abandonware, no
more public distfile
2011-08-01 deskutils/py-tagfu: Looks like an abandonware, no more public
distfile
2011-08-01 deskutils/taskstep: Looks like an abandonware, no more public
distfile
2011-08-01 devel/c_c++_reference: No more public distfiles
2011-08-01 devel/libcoyotl: Looks like an abandonware, no more public distfile
2011-08-01 devel/libfs++: Looks like an abandonware, no more public distfile
2011-08-01 devel/mkmf: Looks like an abandonware, no more public distfile
2011-08-01 devel/p5-Include: No more public distfiles
2011-08-01 devel/rubygem-newgem: broken since 2010/09/22
2011-08-01 devel/tpg: Looks like an abandonware, no more public distfile
2011-08-01 games/amphetamine: Looks like an abandonware, no more public distfile
2011-08-01 games/anagramarama: Looks like an abandonware, no more public
distfile
(Only the first 15 lines of the commit message are shown above )
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
- Update to version 2.0.3
- Make $PREFIX-clean via $PYTHON_SITELIBDIR -> $PYTHONPREFIX_SITELIBDIR
- Move tpg_grammar.g to $EAMPLESDIR, since it's just included as an example
(as far as I can tell)