<tjohnson>
getting the error in that file on a """...""" style long string
<tjohnson>
the turtle in parses.txt/errors.txt does what the filename says
<gkellogg>
Your gists are a bit hard to make out!
<tjohnson>
the only difference between the strings are the presence of the letter 'x' between two spaces
<tjohnson>
gkellogg: i wanted to give you something you could copy-paste in to repeat the issue
<tjohnson>
i'll post some formatted output
<gkellogg>
Could you re-post fails.txt and parses.txt without the embedded newlines?
<gkellogg>
I think there’s a a W3C hosted turtle parser; you might run it by there. My guess is that you’re running into an issue with the syntax, rather than a parser bug.
<gkellogg>
Okay, looks like a tokenizer issue, then.
<gkellogg>
Probably running into a buffer-boundary corner case. It uses a streaming string reader which needs to re-fill when it runs out of characters, and may be missing something in this case. That’s in the ebnf gem.
<tjohnson>
ah...
<tjohnson>
yeah, looks like it's something about the length of this particular line that's making the difference between parsing and not
<tjohnson>
not the `x` or its location in the line, specifically