/c3

A C Compiler

Primary LanguageRustMIT LicenseMIT

c3: A C Compiler

c3, a successor of c2, is a C compiler in Rust.

  • c2: A C compiler in C. This compiler achieves

    • self-hosted w/o c preprocessor
    • supporting multiple platforms (Linux, Windows)

Project goals

  • Support c preprocessor
  • Add optimization passes

References

  • chibicc: A C compiler for educational purposes. This compiler is very easy to read and hack.

  • compilerbook: A material for chibicc.