This repository has been archived on 2023-09-10. You can view files and clone it, but cannot push or open issues/pull-requests.
joko/lib/Opcodes.hpp

21 lines
501 B
C++
Raw Normal View History

2023-09-09 22:03:28 +00:00
#ifndef jk_OPCODES_HPP
#define jk_OPCODES_HPP
#include "commons.hpp"
#define OPCODES(G) \
G(OPCODE_PUSH_CONST), \
G(OPCODE_CALL), \
G(OPCODE_LOAD), \
G(OPCODE_STORE), \
G(OPCODE_LOAD_GLOBAL), \
G(OPCODE_RET), \
2023-09-09 22:03:28 +00:00
G(OPCODE_MK_FUNCTION)
namespace jk
{
JK_ENUM(Opcode, OPCODES);
}
#endif