Last updated at 1:13 pm UTC on 16 January 2006
[May 3, 2001] I've updated the port to work with 3.0 and 3.1alpha. –Bijan Parsia
From the user's guide (usersguide.ps):
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.