|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Portable C backend that emits standalone C from Compiler_IR_Model.H.
More...
#include <cctype>#include <cstdlib>#include <sstream>#include <string>#include <string_view>#include <utility>#include <Compiler_IR_Model.H>#include <ah-errors.H>#include <tpl_dynArray.H>Go to the source code of this file.
Classes | |
| struct | Aleph::Compiler_C_Backend_Options |
| Options that control one C backend emission request. More... | |
| struct | Aleph::Compiler_C_Backend_Emission |
| Result of one C backend emission request. More... | |
| class | Aleph::Compiler_C_Backend |
Emits portable C from one validated Compiler_IR_Module. More... | |
| struct | Aleph::Compiler_C_Backend::Symbol_Names |
| class | Aleph::Compiler_C_Backend::Emitter |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
| namespace | Aleph::Compiler_Backend_C_Detail |
Portable C backend that emits standalone C from Compiler_IR_Model.H.
This header introduces the first source-emitting backend in the compiler platform. The goal is not to model final ABI/layout decisions yet, but to provide a readable, deterministic, and executable lowering target that can be used for:
emit-c workflows before a full driver existsThe emitted C intentionally stays close to the structure of Compiler_IR_Model.H:
goto-based control flowThe current MVP favors clarity and portability over performance. It is therefore a good bridge between the reusable IR and future lower-level backends such as LLVM IR or native assembly.
Definition in file Compiler_Backend_C.H.