Modules§
- ast
- debug
- Debugging and unstable API functions
- ir
- Intermediate Representations of Abstract Syntax Tree
- json
- JSON serialization and deserialization functions
- parser
- semantic
- Semantic resolver (name resolution, type checking and lowering to RQ)
- sql
- Backend for translating RQ into SQL
Structs§
- Error
- A prqlc error. Used internally, exposed as prqlc::ErrorMessage.
- ErrorMessage 
- ErrorMessages 
- Errors
- Multiple prqlc errors. Used internally, exposed as prqlc::ErrorMessages.
- Options
- Compilation options for SQL backend of the compiler.
- SourceLocation 
- Location within the source file. Tuples contain:
- SourceTree 
- All paths are relative to the project root.
- Span
Enums§
- DisplayOptions 
- MessageKind 
- Compile message kind. Currently only Error is implemented.
- Reason
- Target
Statics§
Traits§
Functions§
- compile
- Compile a PRQL string into a SQL string.
- pl_to_ prql 
- Generate PRQL code from PL AST
- pl_to_ rq 
- Perform semantic analysis and convert PL to RQ.
- pl_to_ rq_ tree 
- Perform semantic analysis and convert PL to RQ.
- prql_to_ pl 
- Parse PRQL into a PL AST
- prql_to_ pl_ tree 
- Parse PRQL into a PL AST
- prql_to_ tokens 
- Lex PRQL source into tokens.
- rq_to_ sql 
- Generate SQL from RQ.