Skip to content

Ezrashaw/rcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 RCC (Rust C Compiler) 🚀

NOTE: The master branch is not actively developed, see the new rewrite branch with new features such as an LLVM backend (while keeping x86_64) and a C pretty printer. The rewrite branch is slightly less developed but is more polished.

A simple C compiler written in pure safe Rust


Milestones

  • It runs!
  • return statement
  • Maths in C
  • More maths
  • All the maths
  • Local variables
  • Conditionals (if statements and ternary ?)
  • Blocks (fancy: Compound statements)
  • Functions
  • Loops (2x for, while)
  • Global variables
  • More types
  • Pointers
  • Structs
  • Not gcc (maybe fasm or nasm)
  • Full C89
  • Full C99
  • Compiles a working tcc executable