A resilient LL parser for SPARQL
npm install ll-sparql-parserA resilient LL Sparql parser.
This is the parser that powers Qlue-ls, a SPARQL Langauge server.
It uses rowan for the
red-green-tree datastructure under the hood.
The produced syntax trees are defined in sparql.ungram.
The Parser is generated from the grammar and provides a lossless concrete syntax tree.
This tree can become quiet nested and inconvient for programatic access.
To encounter this problem the ast module provides a convient access functions.