Expand description
SPARQL Parser - Hand-Rolled Zero-Allocation Parser
Simple SPARQL 1.1 subset parser that’s zero-allocation by design. Uses byte string slicing and no heap allocation.
Functions§
- parse_
sparql - Parse a SPARQL query into an AST (discarding the collected literal table).
- parse_
sparql_ full - Parse a SPARQL query and also return the
LiteralTableof string/geometry constants collected during the parse — needed by the executor to resolve literal text forgeof:*/text extension functions.