class LxLang::CodeGen

Defined in:

code_gen.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(program : LxLang::Program) #

[View source]

Instance Method Detail

def declare(name : String, value : Int8) #

[View source]
def declare(assignment) #

[View source]
def sap_asm(instructions, block, depth) #

[View source]
def sap_asm #

[View source]
def sap_bin_exp(instructions, exp, depth) #

[View source]
def sap_conditional(condition, consequent, alternative) #

[View source]
def sap_exp(instructions, exp, depth) #

[View source]