Crate prql_compiler
source ·Modules§
- Debugging and unstable API functions
- 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§
- A prqlc error. Used internally, exposed as prqlc::ErrorMessage.
- Multiple prqlc errors. Used internally, exposed as prqlc::ErrorMessages.
- 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
- Lex PRQL source into tokens.
- Generate SQL from RQ.