compiler for subset of racket (with experimental floating point support)
Shujun Liu 2019
Follows IU compiler course https://github.com/IUCompilerCourse/Essentials-of-Compilation
Usage:
- use all passes in order in compiler.rkt (or compiler_fp.rkt) to translate program into assembly code,
- save as .s file,
- run "gcc filename.s runtime.c",
- run a.out, (or other filename specified)
- run "echo $?" to see results because result is returned as return value of the program.