Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Seven-Streams/Guqin

Repository files navigation

Guqin

What's Guqin?

Guqin is a kind of Chinese traditional musical instrument. For example, the famous song "GuangLinSan" is played by Guqin. I use it to name my compiler, hope it can play your Mx* code.

The work I do

  • Semantic
    • Build an CST with antlr
    • Build an AST with Java
    • Finish semantic check
  • Codegen
    • Translate AST to LLVM IR
    • Trsnslate IR to RISCV assemble language
  • Optimization
    • Mem2Reg
    • Register Allocation
    • Inline Functions
    • ADCE
    • Local CSE
    • SCCP
    • Trail Optimization
    • Loop Invariant Code Motion
    • Tail-call Optimization
    • to be continued...

The songs I love listening when coding

About

A compiler for Mx*.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages