/Isaiah-Elegy

A compiler designed for Mx* language.

Primary LanguageJava

Isaiah

A toy Compiler supports compiling a single file of C-and-Java-like code named as Mx* into rv32im assembly.

Isaiah, means "Yahweh is salvation".

Feature

  • Use ANTLR4 to analyze source code
  • Support extensible semantic checking.
  • Adopt LLVM-like IR, lean but efficient.
  • Adopt Memory2Reg, a small optimization
  • Advanced Instruction selector