Hi,
I've studied the jena tests. It looks like that the syntax tests are
generated by syn.sh. But the execution tests are not generated by
scripts, which are written by hand one by one. Is that true?
Since I have enough time, I'd like to directly go for the syn.sh and
syn-arq.sh to generate
On 16/06/15 09:06, Qihong Lin wrote:
Hi,
Thanks! I just marked GRAPH mandatory, and it worked without
producing the warnings. I'll look into the details later.
By the way, if the new parser is ready, how to test it? I mean, where
to drop the unit test code and the query strings to be tested?
Hi,
Thanks! I just marked GRAPH mandatory, and it worked without
producing the warnings. I'll look into the details later.
By the way, if the new parser is ready, how to test it? I mean, where
to drop the unit test code and the query strings to be tested? I'm
confused with
Qihong,
There is an ambiguity in the grammar if you make GRAPH optional.
See rule 'Quads'
Consider these two cases:
:s :p :o .
:z { :s1 :p1 :o1 } .
:s :p :o .
:z :q :o2 .
when the parser get to end of the triple in the default graph:
:s :p :o .
there are two ways forward: more
Hi Qihong,
In addition to Andy's explanation, You might take look at this
tutorial for more details on javacc lookahead:
https://javacc.java.net/doc/lookahead.html
Best regards,
Ying Jiang
On Mon, Jun 15, 2015 at 10:42 PM, Andy Seaborne a...@apache.org wrote:
Qihong,
There is an ambiguity