cc is a C compiler for my study purpose. A aim of this project is to create a C compiler which is modularized, no memory leaks, easy to modify codes and able to self hosting! Currently, highly work in progress.
This compiler has 5 phases to generate an assembly.
- IR generating
- ASM generating
How to build
How to use
> ./cc examples/simple_00.c
Currently, a name of the generated executable is fixed to
> ./a.out Hello world