[][src]Module inc::emit

Emit machine code for inc AST.

This module implements bulk of the compiler and is a good place to start reading code. Platform specific code is annotated with cfg(target_os) for both linux and mac. This module implements code gen specific to inc and anything generic goes into x86 module.

Functions

binding

Emit code for a let expression

cmp_bool

Convert the result in RAX into a boolean

eval

Evaluate an expression into RAX

mask

Clear (mask) all except the least significant 3 tag bits

program

Top level interface to the emit module