Small Notation3 parser for the Eyeling Python reasoner.
It intentionally focuses on the N3 rule subset used by Eyeling's reasoner:
prefix/base directives, triples, graph terms, lists, blank-node property lists,
variables, literals, and => / <= rules.
N3SyntaxError
N3SyntaxError(message: str, offset: int | None = None)
Bases: SyntaxError
N3 parse error with a character offset suitable for CLI diagnostics.
Source code in pyling/parser.py
| def __init__(self, message: str, offset: int | None = None):
super().__init__(message)
self.offset = offset
|