Crate prql_compiler
source ·Modules§
- Intermediate Representations of Abstract Syntax Tree
- JSON serialization and deserialization functions
- Semantic resolver (name resolution, type checking and lowering to RQ)
- Backend for translating RQ into SQL
Structs§
- Compilation options for SQL backend of the compiler.
- Location within the source file. Tuples contain:
- All paths are relative to the project root.
Enums§
- Compile message kind. Currently only Error is implemented.
Statics§
Traits§
Functions§
- Compile a PRQL string into a SQL string.
- Generate PRQL code from PL AST
- Perform semantic analysis and convert PL to RQ.
- Perform semantic analysis and convert PL to RQ.
- Parse PRQL into a PL AST
- Parse PRQL into a PL AST
- Generate SQL from RQ.