t3x/t3x9-book/README

21 lines
515 B
Plaintext

This is the T3X9 compiler, as described in the book
"Write Your Own Compiler"
by Nils M Holm
More details about the book can be found at T3X.ORG.
To compile the compiler on FreeBSD, just do
chmod +x t.elf && ./t.elf <t.t >t.new
To compile it on any system providing a C89 compiler:
cc -o t0 t.c && ./t0 <t.t >t.new
NOTE: some patches have been applied to the compiler since
publication. The source code in the "t.t" file reflects the
latest patchlevel. Patches are contained in the files t.pl?.