summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-09-15 22:08:35 +0000
committerrecht <recht@pkgsrc.org>2003-09-15 22:08:35 +0000
commitd06a3bdc67c7f45f937d470c2e35e9649871354b (patch)
tree4bdf09f3e5dfa8976bc1c4c4e1c4f2b3877ce449 /x11
parentcb019b8f9c99fd736050779db7bfe1b0c72f1f32 (diff)
downloadpkgsrc-d06a3bdc67c7f45f937d470c2e35e9649871354b.tar.gz
Initial import of py-TPG 2.1.6
based upon the pkg provided by Michal Pasternak in PR 21982 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.
Diffstat (limited to 'x11')
0 files changed, 0 insertions, 0 deletions