|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Parser that tokenizes and parses MXVM source into programs, handles modules/objects, and dispatches code generation. More...
#include "mxvm/instruct.hpp"#include "mxvm/valid.hpp"#include "scanner/scanner.hpp"#include <cstdint>#include <iostream>#include <memory>#include <string>#include <unordered_map>

Go to the source code of this file.
Classes | |
| class | mxvm::Parser |
| Main MXVM parser — tokenizes source, builds AST, and generates intermediate code. More... | |
| struct | mxvm::ExternalFunction |
| Describes an external function imported from a module or object. More... | |
| class | mxvm::ModuleParser |
| Parser for MXVM module definition files (.mxvm). More... | |
Namespaces | |
| namespace | mxvm |
Enumerations | |
| enum class | mxvm::Mode { mxvm::MODE_INTERPRET , mxvm::MODE_COMPILE } |
| Execution mode: interpretation or native compilation. More... | |
| enum class | mxvm::Platform { mxvm::LINUX , mxvm::DARWIN , mxvm::WINX64 } |
| Target platform for native code generation. More... | |
Variables | |
| bool | mxvm::debug_mode = false |
| enable verbose debug output during parsing | |
| bool | mxvm::instruct_mode = false |
| enable instruction trace mode | |
| bool | mxvm::html_mode = false |
| enable HTML debug output | |
Parser that tokenizes and parses MXVM source into programs, handles modules/objects, and dispatches code generation.
Definition in file parser.hpp.