Compilerdev Electric Boogaloo

Goals

Create a self-compiling compiler. The language will be a dialect of C. It is bootstrapped in C.

Dependencies

  • gcc
  • make
  • a linux system
  • graphviz (optional)

Features

Token Visualization

tokenviz

AST Visualization

graphviz

Roadmap

Broad Scope

  • Lex Tokens
  • Parse Tokens
  • Generate IR
  • Translate to Machine Code

Narrow Scope

  • Variables
  • Types
  • Functions
  • Loops
  • Conditionals
  • Arithmetic
  • Operators