Alona EM e840718997 | ||
---|---|---|
.. | ||
Makefile | ||
README | ||
_csums | ||
dump.c | ||
t.c | ||
t.elf | ||
t.pl1 | ||
t.pl2 | ||
t.pl3 | ||
t.pl4 | ||
t.t | ||
t3x-history.txt | ||
t3x.bnf | ||
t3x.txt | ||
test.t |
README
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?.