Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Compiler_Generic_Driver.H File Reference

Reusable pipeline driver that operates on any Compiler_Frontend. More...

#include <fstream>
#include <sstream>
#include <string>
#include <Bytecode.H>
#include <Compiler_Backend_C.H>
#include <Compiler_Frontend.H>
#include <Compiler_Module_Binder.H>
#include <Compiler_Module_Linker.H>
#include <Compiler_Module_Name_Table.H>
#include <Compiler_Module_Semantic_Environment.H>
Include dependency graph for Compiler_Generic_Driver.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::Compiler_Generic_Driver_Options
 Configuration shared by all runs of Compiler_Generic_Driver. More...
 
class  Aleph::Compiler_Generic_Driver
 Reusable orchestration object built on top of Compiler_Frontend. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Detailed Description

Reusable pipeline driver that operates on any Compiler_Frontend.

The generic driver owns only the reusable post-frontend stages:

  • execution through Interpreter_Runtime.H
  • lowering from IR to bytecode
  • validation of bytecode artifacts
  • emission of portable C from IR

Language-specific concerns such as parsing, semantic analysis, and lowering into HIR/IR are delegated to a Compiler_Frontend implementation.

Definition in file Compiler_Generic_Driver.H.