class Crystushdraw::Program

Defined in:

crystushdraw/program.cr

Constant Summary

INSTRUCTIONS = Crystush2d::Program::INSTRUCTIONS.concat(["DRAW.LINEFROMPOINTS"])

Constructors

Instance Method Summary

Constructor Detail

def self.new(program : String) #

[View source]

Instance Method Detail

def evaluate(stacks : Crystushdraw::PushStacks = Crystushdraw::PushStacks.new) : Crystushdraw::PushStacks #

[View source]
def execute_draw_instruction(instruction : String, stacks : Crystushdraw::PushStacks) #

[View source]
def execute_instruction(instruction : String, stacks : Crystushdraw::PushStacks) #

[View source]