Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sparql.sublime-syntax #3142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

RoiEXLab
Copy link

@RoiEXLab RoiEXLab commented Dec 5, 2024

Hi,
I just had to create my own Variant of a .sublime-syntax for the SPARQL language and thought: Maybe I can submit it here so it helps other people in the future.
Disclaimer: I don't know shit about the sublime-syntax Format, I just used https://github.com/stardog-union/stardog-vsc/blob/0ce931c26529fdaf5c6dd58d91e589bbd6944a1d/stardog-rdf-grammars/syntaxes/sparql.tmLanguage.json (thus the comment because I'm not sure if the licensing applies in this case) merged a bunch of files together after doing some research how includes work, and then used a converter to get the sublime-syntax file out of it.
As I see it, it seems to work rather well even though I'm pretty sure it is not completely compliant with the official https://www.w3.org/TR/sparql11-query/#rQueryUnit grammar specification.

If there are any issues with this file, feel free to nudge me in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant