![]() |
Phasor 2.2.0
Stack VM based Programming Language
|
#include "BytecodeSerializer.hpp"#include <cstring>#include <stdexcept>#include <filesystem>#include <fstream>#include "metadata.h"Go to the source code of this file.
Namespaces | |
| namespace | Phasor |
| The Phasor Programming Language and Runtime. | |
Macros | |
| #define | COMPILE_MESSAGE(msg) |
| #define | STR2(x) |
| #define | STR(x) |
Functions | |
| void | init_crc32_table () |
| Init CRC32 Table. | |
Variables | |
| const uint8_t | SECTION_CONSTANTS = 0x01 |
| const uint8_t | SECTION_VARIABLES = 0x02 |
| const uint8_t | SECTION_INSTRUCTIONS = 0x03 |
| const uint8_t | SECTION_FUNCTIONS = 0x04 |
| static uint32_t | crc32_table [256] |
| static bool | crc32_table_initialized = false |
| #define COMPILE_MESSAGE | ( | msg | ) |
Definition at line 14 of file BytecodeSerializer.cpp.
| #define STR | ( | x | ) |
Definition at line 17 of file BytecodeSerializer.cpp.
| #define STR2 | ( | x | ) |
Definition at line 16 of file BytecodeSerializer.cpp.
| void init_crc32_table | ( | ) |
Init CRC32 Table.
Definition at line 29 of file BytecodeSerializer.cpp.
|
static |
Definition at line 25 of file BytecodeSerializer.cpp.
|
static |
Definition at line 26 of file BytecodeSerializer.cpp.
| const uint8_t SECTION_CONSTANTS = 0x01 |
Definition at line 20 of file BytecodeSerializer.cpp.
| const uint8_t SECTION_FUNCTIONS = 0x04 |
Definition at line 23 of file BytecodeSerializer.cpp.
| const uint8_t SECTION_INSTRUCTIONS = 0x03 |
Definition at line 22 of file BytecodeSerializer.cpp.
| const uint8_t SECTION_VARIABLES = 0x02 |
Definition at line 21 of file BytecodeSerializer.cpp.