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
Write a Proper SparQL parser using Antlr4 #236
Comments
@manonthegithub might also be interested in your progress on this so we don't duplicate the work |
@joka921 @manonthegithub on the internal fork we do have an ANTLR SPARQL grammar for the completion script that could be used for this. |
I have seen this grammar and am already using it |
Adding to this the current SPARQL parser also breaks if there isn't a space before |
Ok I tried quickfixing the For example the following query works (in Blazegraph):
Using
However removing the |
@floriankramer just a note that this would also add |
@niklas88 Although adding those into the lexer would be relatively easy (simply consume everything up to and including the next newline when a # is found outside of another token type). |
Update: We finally are making progress on this. We already have a complete grammar and the and it is now assigned to @Qup42 |
This has been done and it was indeed a milestone for QLever. |
This subsumes many of the other issues below.
but with a better structure and correct/automated lexing.
The text was updated successfully, but these errors were encountered: