class Stacklang::Compiler

Defined in:

stacklang/compiler/compiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, spec : RiSC16::Spec, debug : Bool = true) #

[View source]

Instance Method Detail

def compile : RiSC16::Object #

[View source]
def require(path : String, from : Unit) : Unit #

Fetch a required unit from cache or parse it. Cached in a cache common with provided entrypoints units.


[View source]
def spec : RiSC16::Spec #

[View source]