Module compiler

Module compiler 

Source
Expand description

Compiler infrastructure

The Fidget compiler operates in several stages:

Structs§

RegTape
Low-level tape for use with the Fidget virtual machine (or to be lowered further into machine instructions).
RegisterAllocator
Cheap and cheerful single-pass register allocation
SsaTape
Instruction tape, storing opcodes in SSA form

Enums§

RegOp
Operations used in register-allocated tapes
RegOpDiscriminants
RegOp discriminant value
SsaOp
Basic operations that can be performed in a tape