class VM

Defined in:

vm.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytecode : Array(Int32 | Op), memory : Array(ValidType), scope : Scope | Nil = nil) #

[View source]

Instance Method Detail

def bytecode : Array(Int32 | Op) #

[View source]
def memory : Array(ValidType) #

[View source]
def run #

Runs each opcode


[View source]
def stack : Array(ValidType) #

[View source]