Abstract
T-gen is a general-purpose object-oriented tool for the automatic generation of string-to-object translators. It is written in Smalltalk and lives in the Smalltalk programming environment. T-gen supports the generation of both top-down (LL) and bottom-up (LR) parsers, which will automatically generate derivation trees, abstract syntax trees, or arbitrary Smalltalk objects. The simple specification syntax and graphical user interface enhance the learning, comprehension, and usefulness of T-gen.
T-gen handles all common grammars: LL(1), SLR(1), LALR(1), LR(1).
The user's guide describes how T-gen works, how to prepare specification files for translator generation and provides examplles and hints on the effective usage of T-gen.
T-gen can build
derivation trees (generic derivation tree nodes)
abstract syntax trees
SqueakMap now contains T-Gen (a Smalltalk Compiler-Compiler) which claims to be better than T-Gen.