-
Notifications
You must be signed in to change notification settings - Fork 3
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
zy/47 fix multiline issue #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem to work in my testing? example_7.dart file does not parse the turtle content as expected. Am I doing something wrong here?
Can you parse the result? |
All works well on Windows. It would be good if we can test this on Linux as well |
Thanks @anushkavidanage, it has been tested on Linux and works well. |
@zheyxu |
Hi @srodriguez142857, made updates accordingly |
Hi @zheyxu. The output looks compliant with the Turtle spec: Quoted Literals section. It would be ideal to have a thorough check of the syntax production rule for the All good. |
Handle with test file:
And in parse result,
(""""")
is convert to([\, "][\, "][\, "][\, "][\, "])
to avoid parse exception (petitparser seems to only accent one pair of"
in one literal).