ling-mir
↓ 0 downloadsMid-level IR with real optimization passes
Keywords mir, compiler, optimizer, ir
lingfu install ling-mirREADME
ling-mir
Ling's mid-level IR, sitting between the AST and code generation.
Functionality
Lowers the AST to an analyzable form, then runs optimization passes before handing off to the codegen backend.
Features
- Real optimization passes (~3.8k lines)
- A structure suited to both JIT and AOT
- A shared contract between interpreter and compiler
Applications
The middle layer that makes Ling programs run fast via ling-codegen.