Skip to main content

Module sparql_parser

Module sparql_parser 

Source
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 LiteralTable of string/geometry constants collected during the parse — needed by the executor to resolve literal text for geof:*/text extension functions.