Expand description
Parser for XLOG programs using Pest
This module parses XLOG source text into AST structures.
It uses the Pest parser generator with a grammar defined in grammar.pest.
Structs§
- Xlog
Parser - Pest-based parser for XLOG Datalog syntax.
Enums§
Functions§
- parse_
atom - Parse a single atom (low-level, returns pest pairs)
- parse_
program - Parse an XLOG program string into an AST Program
- parse_
statement - Parse a single statement (low-level, returns pest pairs)
Type Aliases§
- Parse
Result - Parse result containing the parsed pairs (for low-level access)