Today I proud to announce M2-Planet version 0.2.0
https://github.com/oriansj/M2-Planet
The world's simplest C compiler with support for:
structs with sizeof support
anonymous unions (inside of structs)
arrays
Inline assembly
Gotos
for, while and do loops with optional breaks
bitshifting
bitwise operations
escaped strings
Passable function pointers
Written and self-hosting in a lovely C99 subset
optional dwarf footers (thanks to mescc-tools blood-elf) allowing for
objdump and gdb to play nicely
and 100% deterministic output

Able to be bootstrapped from a trivial Macro-assembler and hex2-linker
(which when hand made are under 3KB total)
which can be found here:
https://github.com/oriansj/mescc-tools
or via any C compiler that supports only 60% of the features of M2-Planet 

Reply via email to