t3x/t3x9-book
Alona EM e840718997 init 2022-05-12 14:47:58 +01:00
..
Makefile init 2022-05-12 14:47:58 +01:00
README init 2022-05-12 14:47:58 +01:00
_csums init 2022-05-12 14:47:58 +01:00
dump.c init 2022-05-12 14:47:58 +01:00
t.c init 2022-05-12 14:47:58 +01:00
t.elf init 2022-05-12 14:47:58 +01:00
t.pl1 init 2022-05-12 14:47:58 +01:00
t.pl2 init 2022-05-12 14:47:58 +01:00
t.pl3 init 2022-05-12 14:47:58 +01:00
t.pl4 init 2022-05-12 14:47:58 +01:00
t.t init 2022-05-12 14:47:58 +01:00
t3x-history.txt init 2022-05-12 14:47:58 +01:00
t3x.bnf init 2022-05-12 14:47:58 +01:00
t3x.txt init 2022-05-12 14:47:58 +01:00
test.t init 2022-05-12 14:47:58 +01:00

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?.