Skip to content

rcorcs/rcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rcc: rcor C compiler

A C compiler under development

by ROCHA, Rodrigo Caetano

DONE

  • Scanner: lexical analyser
  • Parser: syntactic analyser
  • Macro pre-processor (e.g.: #include, #define)
  • Basic data-type structures (e.g.: primitives, struct)
  • Basic identifier structures (e.g.: function names, variable names)
  • AST: build the abstract syntax tree (almost finished)
  • CGen: generate C code from the AST

Under Development

  • TypeCheck: perform semantic analysis
  • LLGen: generate LLVM IR code from the AST

TODO

  • RIR: design and generate an intermediate representation
  • RIR backend: generate a RIR backend for different architectures
  • Optimizations on both AST and RIR level

Building Dependencies

About

rcor C compiler (under development)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published