Tags: rdfjs/N3.js
Tags
perf: perform difference using internals (#451) * perf: perform difference using internals * chore: improve test coverage for #difference * chore: fix tests Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore: update docs --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
perf: compute intersection over indices (#438) * perf: compute intersection over indices * chore: dont use ||= syntax * chore: fix lint errors * fix: dont set _graphs = false * chore: explicitly add truthiness test for graphs * chore: add docs * chore: fix lint errors * perf: remove unecessary lookups
feat: add callback and event for comments (#423) * Added tests and support for a comments callback in the N3Parser * Added support and test for emitting comments in the N3StreamParser * Added setter for enabling comments in lexer * Perf: no token check on comment when not in comment mode * Support new backward compatible function signature for parse() * keeping the {…} off for single lines * Make emitting comments from N3StreamParser optional through a constructor option (off by default) * Make comments a public var in N3Lexer * Update test/N3Parser-test.js Co-authored-by: Ruben Verborgh <[email protected]> * Adding tests to fix coverage * Updated documentation in the README.md * chore: revert prefix arg drop * chore: cleanup documentation * chore: make languaage precise --------- Co-authored-by: Jesse Wright <[email protected]> Co-authored-by: Ruben Verborgh <[email protected]>