start work on new interpreter
This commit is contained in:
parent
7efa99d064
commit
2ac2f85512
15 changed files with 780 additions and 30 deletions
12
next/core/opcodes.h
Normal file
12
next/core/opcodes.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue