A Compiler of Mx, See Compiler-Design-Implementation.
- Semantic
- Antlr Lexer / Parser
- Build an AST
- Semantic Check
- Codegen
- Translate AST to LLVM IR 🔥
- Translate IR to RISC-V Assembly
- Optimization
- Mem2reg
- Register Allocation
A Compiler of Mx, See Compiler-Design-Implementation.