class Crystush2d::Program
- Crystush2d::Program
- Crystush::Program
- Reference
- Object
Defined in:
crystush2d/program.crConstant Summary
-
INSTRUCTIONS =
Crystush::Program::INSTRUCTIONS.concat(["POINT.DUP", "POINT.FROMFLOATS"])
Constructors
Instance Method Summary
- #evaluate(stacks : Crystush2d::PushStacks = Crystush2d::PushStacks.new) : Crystush2d::PushStacks
- #execute_instruction(instruction : String, stacks : Crystush2d::PushStacks)
- #execute_point_instruction(instruction : String, stacks : Crystush2d::PushStacks)
Constructor Detail
Instance Method Detail
def evaluate(stacks : Crystush2d::PushStacks = Crystush2d::PushStacks.new) : Crystush2d::PushStacks
#
def execute_point_instruction(instruction : String, stacks : Crystush2d::PushStacks)
#