antcc

A little C compiler using its own independent backend, being developed with these main goals:

  1. The C frontend aims to provide a practical implementation of ISO C (plus common extensions) that make it able to compile a lot of real-world C code.
  2. The backend seeks to offer a significant proportion of the impactful performance optimizations from industry-standard compilers in a much smaller and hackable footprint.
  3. And importantly, fun! I like learning about and experimenting with compiler implementation :)
Here are some notable features:

Get the code: main git repository
You can read about the internals in the documentation.

Community

Come chat at #antcc on irc.libera.chat. Contribution info

Credits

antcc is inspired by the QBE backend, and other small C compilers, mainly TinyCC, chibicc, cproc.

Thanks to Urs Jansen from the TIN newsreader for providing early testing and bug reports.

More Links


<3