Expand description
Compilation pipeline for XLOG programs
This module provides the main entry point for compiling XLOG source code into execution plans. The compilation process consists of:
- Parsing: Convert source text to AST (
parser::parse_program) - Stratification: Analyze negation/aggregation dependencies (
stratify::stratify) - Lowering: Transform AST to Relational IR (
lower::Lowerer::lower_program)
The Compiler struct orchestrates these phases and provides a single
entry point via the compile method.
Structs§
- Compiler
- The XLOG compiler orchestrates the full compilation pipeline.
Functions§
- compile
- Convenience function to compile source in one call.
- load_
modules - Load and validate modules for a source file.