A small C compiler written in Python. Generates x64 Intel-format assembly, which is then assembled and linked by
tests folder for examples that compile. The
function_test.c test is representative of the range of SmallerC.
- Control structures:
- Pointers (referencing and dereferencing)
- Function definition and calling
\* ... */-form comments
print noutputs the integer
- This isn't in the C spec, but I included it to facilitate outputting values from the program; SmallerC is nowhere near being able to compile the stdio C libraries.