![]() |
nsbaci 1.0
|
Abstract Compiler class declaration for nsbaci. More...


Go to the source code of this file.
Classes | |
| struct | nsbaci::compiler::CompilerResult |
| Result of a compilation operation. More... | |
| class | nsbaci::compiler::Compiler |
| Abstract base class for all compilers. More... | |
Namespaces | |
| namespace | nsbaci::compiler |
| Compiler namespace containing all compilation-related stuff. | |
| namespace | nsbaci |
| Root namespace for the nsbaci application. | |
Abstract Compiler class declaration for nsbaci.
This module defines the abstract Compiler interface that all compiler implementations must follow. The Compiler is responsible for transforming nsbaci source code into an executable instruction stream (p-code) that can be run by the virtual machine interpreter.
The design follows the Strategy pattern, allowing different compiler implementations to be plugged in. Currently, NsbaciCompiler is the primary implementation using flex/bison for lexical analysis and parsing.