comptut
diff README @ 2:db0630e6a97b
added README file
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 15 Mar 2015 05:56:33 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/README Sun Mar 15 05:56:33 2015 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +Following along Jack Crenshaw's compiler tutorial: 1.5 + http://compilers.iecc.com/crenshaw/ 1.6 + 1.7 +Instead of turbo pascal, I'll be using C, and instead of motorolla 68k assembly, 1.8 +the compiler will emit 32bit x86 code, with a prologue and epilogue attached to 1.9 +make it assemble, link and run on GNU/Linux. 1.10 + 1.11 +Use the Makefile to build the compiler (the binary is called test). 1.12 +Use the COMPILE and RUN scripts, to compile and run programs written in the 1.13 +language invented by the tutorials. 1.14 + 1.15 +Versions of the code after each article is completed will be tagged in the repo.