First cut at T-gen

John Sarkela john_sarkela at 4thEstate.com
Tue Nov 16 15:18:08 UTC 1999


Hello fellow language hackers,

A hasty port of T-gen, a translator generator, is now available.
T-gen is a translator generator that belongs to the lex/yacc
family of syntax directed compiler generators. T-gen was
originally developed under the supervision of Justin Graver.

This port was done quickly and has not been carefully examined.
The supplied regression tests all work, so it should be quite
usable for the experimenter.

The t-gen distribution may be retrieved in a zip file from

    http://www.TheFourthEstate.com/apps/squeak.html

The distribution includes a number of example grammars.
Please look at the file, readmeTgen, in order to get started.
Also print a copy of the users guide. T-gen is a very
powerful tool, but not at all obvious to the casual observer.

BTW, the port depends upon exception support and has been
tested on Squeak 2.6 only. There is every reason to believe
that it will work as well in 2.5 if the TFEI exception package
has been previously loaded.

CAVEAT LECTOR
When downloading and unzipping the port *PLEASE* make
sure that there are no CR/LF translations. If CR/LF translations
occur, the code will file in and not function correctly.

John Sarkela
CTO The Fourth Estate, Inc.





More information about the Squeak-dev mailing list