Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
That does seem to get some things to work. But then it allows for things like |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you need it to be a single token containing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use this library to try to create a Go parser of Turtle. One of the productions of Turtle is a line that literally begins with
@prefix
(here).When I try to create a parser that specifies that the
"@prefix"
token starts the line, it just doesn't work in Participle. I've condensed this issue into a small, runnable snippet here: https://go.dev/play/p/kOQ2_bAA2ReThis snippet builds 2 parsers:
The one that makes use of the
@
symbol does not seem to work, but when the grammar does not use the@
symbol, it works fine.I apologize if I have missed something obvious in the documentation, but I did scan around for a few hours to try to get past this issue to no avail. Please let me know if any other info helps, and obviously: thank you so much for this library and your time.
Beta Was this translation helpful? Give feedback.
All reactions