mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Implemented print keyword and associated tests
This commit is contained in:
@@ -33,6 +33,10 @@ typedef enum Toy_OpcodeType {
|
||||
//control instructions
|
||||
TOY_OPCODE_RETURN,
|
||||
|
||||
//various action instructions
|
||||
TOY_OPCODE_PRINT,
|
||||
//TODO: clear the program stack
|
||||
|
||||
//meta instructions
|
||||
TOY_OPCODE_PASS,
|
||||
TOY_OPCODE_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user