Expand description
§Codegem
Codegem makes it easy to generate code.
Modules§
- arch
arch
contains the default architectures supported bycodegem
. An architecture does not need to be in this module to be supported, as the traits that must be implemented are public and can be implemented by other crates wishing to extendcodegem
’s functionality.- ir
ir
contains the intermediate representation (IR) that programs using this crate interface with, as well as a builder struct to create the intermediate representation.- regalloc
regalloc
contains the default register allocator. One can implement their own register allocator by implementing theregalloc::RegisterAllocator
trait, if one does not have a skill issue.