This is a simple compiler for a subset of ANSI C. By now, it can generate the pseudo-code without type-checking.
See LambCompiler/src/config.h
, make sure it is the desired configuration. The default configuration is Test Mode
, which means it use the previously defined test data.
Make sure you have installed GNU Make.
- Run
make
underLambCompiler/
to compile the compiler, the executable file is underLambCompiler/bin
- ./compiler [filename]
- ./compiler -v
- ./compiler -h
- ./compiler