Implementation of Alpha's compiler in 5 stages. Lexicographic analysis, grammar and syntax construction, intermediate code and quad generation, final code generation, construction of Alpha's virtual machine
Intermediate code and quad generation (library in c)
Final code generation
Construction of Alpha's virtual machine (AVM)
Usage:
$ make {(empty)|out|avm_exec|clean}:
- (empty) : clean up, then build out and avm_exec
- out : alpha language compiler compilation recipe
- avm_exec : alpha language virtual machine executable compilation recipe
- clean : clean every executable and object
Compiles and returns a binary file at given location with .abc extension.