3 releases
new 0.1.3 | Sep 4, 2024 |
---|---|
0.1.2 | Jun 29, 2024 |
0.1.1 | Jun 29, 2024 |
#160 in Text editors
147 downloads per month
1.5MB
39K
SLoC
tree-sitter-sparql
SPARQL grammar for tree-sitter.
Important
This is a fork of tree-sitter-sparql! It's just updated and adjusted for Rust.
Usage
All you need to know is written in the docs
To summarize:
- install the tree-sitter-cli on your system
- build the parser and all bindings with:
tree-sitter generate
- test the parser with
tree-sitter test
- tests are defined in
test/
- the grammar is specified in
grammar.js
If you want to use this in your rust project:
- install the tree-sitter crate
- install this crate
Everything further is written in the docs
References
- The Core of this project tree-sitter
- The SPARQL grammar.
Dependencies
~6.5MB
~129K SLoC