Expand description
Turtle ACL parser (subset sufficient for WAC documents).
Accepts the subset used by real-world Solid ACL files: @prefix
directives, a shorthand, and ;-separated predicate-object pairs
terminated with ..
Non-recognised tokens are skipped — the parser is deliberately forgiving so that odd whitespace or extra comments do not break it.
Functions§
- parse_
turtle_ acl - Parse a Turtle ACL document into the same
AclDocumentshape that the JSON-LD deserialiser produces. - parse_
turtle_ acl_ with_ limit - Parse a Turtle ACL document with a caller-supplied byte limit.