comptut

annotate README @ 3:f167a743f348

tutor3.txt completed minus the multi-char tokens bit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 15 Mar 2015 13:48:04 +0200
parents
children
rev   line source
nuclear@2 1 Following along Jack Crenshaw's compiler tutorial:
nuclear@2 2 http://compilers.iecc.com/crenshaw/
nuclear@2 3
nuclear@2 4 Instead of turbo pascal, I'll be using C, and instead of motorolla 68k assembly,
nuclear@2 5 the compiler will emit 32bit x86 code, with a prologue and epilogue attached to
nuclear@2 6 make it assemble, link and run on GNU/Linux.
nuclear@2 7
nuclear@2 8 Use the Makefile to build the compiler (the binary is called test).
nuclear@2 9 Use the COMPILE and RUN scripts, to compile and run programs written in the
nuclear@2 10 language invented by the tutorials.
nuclear@2 11
nuclear@2 12 Versions of the code after each article is completed will be tagged in the repo.