You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nixon Enraght-Moony e840718997 init 1 month ago
..
CHANGES init 1 month ago
MANIFEST init 1 month ago
Makefile init 1 month ago
README init 1 month ago
_csums init 1 month ago
dump.c init 1 month ago
t-vm.t init 1 month ago
t.c init 1 month ago
t.elf init 1 month ago
t.t init 1 month ago
t.vm init 1 month ago
t3x-history.txt init 1 month ago
t3x.bnf init 1 month ago
t3x.txt init 1 month ago
tcdis.c init 1 month ago
tcvm.c init 1 month ago
test.t init 1 month ago

README


This is the T3X9 compiler, Release 2

It is superset of the compiler described in

"Write Your Own Compiler"
by Nils M Holm

More details about the book can be found at T3X.ORG.

*********************************************************
Please consult the CHANGES file before usig this version!
*********************************************************

To compile the compiler on FreeBSD-386, 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

Alternatively, use the Tcode9 virtual machine:

cc -o tcvm tcvm.c && ./tcvm t.vm <t-vm.t >t.new

You can then compile T3X9 programs using

./tcvm t.new <t3x-program >vm-program