RDF Parser Demo
Fault-tolerant semantic web parsers · powered by A*
Loading WASM…
Why?
RDF has many serialisation formats — Turtle, SPARQL, TriG, N-Triples, N3, and more
All are being revised with RDF 1.2
Writing parsers by hand for each one is error-prone and hard to keep consistent
How?
Each language is defined once as an EBNF grammar
A code generator compiles each grammar into a state machine
The state machine runs an A* search — so it recovers from errors and keeps parsing
Next?
Integrate the parsers into a semantic web language server
Real-time diagnostics, completions, and hover docs in your editor
One grammar update covers all tooling when RDF 1.2 lands
Turtle
SPARQL
TriG
N3
N-Triples
JSON-LD
Input — try introducing a syntax error
Diagnostics — parser keeps going even with errors
Initializing…
Derived Triples
AST
Initializing…