![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
The different instructions used by the compiler and virtual machine. More...
#include <array>#include "Instructions.x"Go to the source code of this file.
Namespaces | |
| namespace | Ark |
| namespace | Ark::internal |
Macros | |
| #define | X(name, value) |
| #define | X(name, value) |
Enumerations | |
| enum | Ark::internal::Instruction : uint8_t { Ark::internal::SYM_TABLE_START = 0xA1 , Ark::internal::VAL_TABLE_START = 0xA2 , Ark::internal::CODE_SEGMENT_START = 0xA3 , Ark::internal::NUMBER_TYPE = 0xF1 , Ark::internal::STRING_TYPE = 0xF2 , Ark::internal::FUNC_TYPE = 0xF3 , Ark::internal::FILENAMES_TABLE_START = 0xA4 , Ark::internal::INST_LOC_TABLE_START = 0xA5 , Ark::internal::X , Ark::internal::X } |
| The different bytecodes are stored here. More... | |
Variables | |
| constexpr uint8_t | Ark::internal::FirstOperator = Instruction::BREAKPOINT |
| constexpr std::array | Ark::internal::InstructionNames |
The different instructions used by the compiler and virtual machine.
Definition in file Instructions.hpp.
| #define X | ( | name, | |
| value ) |
Definition at line 37 of file Instructions.hpp.
| #define X | ( | name, | |
| value ) |
Definition at line 37 of file Instructions.hpp.