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