start work on new interpreter

This commit is contained in:
Lobo 2026-02-05 22:34:48 -03:00
parent 7efa99d064
commit 2ac2f85512
15 changed files with 780 additions and 30 deletions

12
next/core/opcodes.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef GROWL_OPCODES_H
#define GROWL_OPCODES_H
enum {
GOP_NOP = 0,
GOP_PUSH_NIL,
GOP_PUSH_CONSTANT,
GOP_CALL,
GOP_RETURN,
};
#endif // GROWL_OPCODES_H