This commit is contained in:
Lobo 2026-02-06 11:52:53 -03:00
parent 2ac2f85512
commit 90175b7e26
12 changed files with 300 additions and 77 deletions

View file

@ -1,11 +1,25 @@
#ifndef GROWL_OPCODES_H
#define GROWL_OPCODES_H
enum {
enum GrowlOpcode {
GOP_NOP = 0,
GOP_PUSH_NIL,
GOP_PUSH_CONSTANT,
GOP_DROP,
GOP_DUP,
GOP_SWAP,
GOP_2DROP,
GOP_2DUP,
GOP_2SWAP,
GOP_NIP,
GOP_OVER,
GOP_BURY,
GOP_DIG,
GOP_TO_RETAIN,
GOP_FROM_RETAIN,
GOP_CALL,
GOP_CALL_NEXT,
GOP_TAIL_CALL,
GOP_RETURN,
};