|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Shared contracts used by reusable compiler frontends and drivers. More...
#include <sstream>#include <string>#include <string_view>#include <utility>#include <Interpreter_Runtime.H>#include <tpl_dynArray.H>Go to the source code of this file.
Classes | |
| struct | Aleph::Compiler_Driver_Source |
| One logical input source handled by a compiler frontend. More... | |
| struct | Aleph::Compiler_Driver_Artifact |
| Stable text artifact produced during one pipeline run. More... | |
| struct | Aleph::Compiler_Driver_Run_Output |
Structured output of a run action. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
| namespace | Aleph::Compiler_Driver_Detail |
Enumerations | |
| enum class | Aleph::Compiler_Driver_Action { Aleph::Parse_Only , Aleph::Sema_Only , Aleph::HIR , Aleph::IR , Aleph::Run , Aleph::Emit_C , Aleph::Emit_Bytecode } |
| High-level actions supported by compiler pipeline drivers. More... | |
Functions | |
| const char * | Aleph::compiler_driver_action_name (const Compiler_Driver_Action action) noexcept |
| Returns the canonical external spelling for one driver action. | |
| bool | Aleph::compiler_parse_driver_action (std::string_view text, Compiler_Driver_Action &action) noexcept |
| Parses one canonical driver action spelling. | |
| std::string | Aleph::Compiler_Driver_Detail::artifact_label (const std::string &prefix, const size_t index, const std::string &name) |
| void | Aleph::Compiler_Driver_Detail::append_artifact (DynArray< Compiler_Driver_Artifact > &artifacts, const std::string &label, std::string text) |
| template<typename Report > | |
| bool | Aleph::Compiler_Driver_Detail::merge_report (const std::string &stage, const Report &report, DynArray< std::string > &errors, DynArray< std::string > &warnings) |
| std::string | Aleph::Compiler_Driver_Detail::render_messages (const DynArray< std::string > &errors, const DynArray< std::string > &warnings) |
| std::string | Aleph::Compiler_Driver_Detail::render_run_result (const Compiler_Driver_Run_Output &output) |
Shared contracts used by reusable compiler frontends and drivers.
This header centralizes the user-facing action enum and the stable artifact and input records consumed by orchestration code. It intentionally avoids committing to one specific frontend implementation so language-specific adapters can reuse the same contracts.
Definition in file Compiler_Driver_Contracts.H.