Closed lisp closed 1 year ago
Hi! I believe the current grammar is correct. Indeed triplesBlock
allows to be finished with a "."
(note the question mark after the recursive call to triplesBlock
in triplesBlock
rule).
The current grammar allow productions like:
wrappedGraph
-> "{" triplesBlock? "}"
-> "{" triplesBlock "}"
-> "{" triples ("." triplesBlock?)? "}"
-> "{" triples "." triplesBlock? "}"
-> "{" triples "." "}"
so, allows trailing dots.
Your grammar change would means that a dot at the end of a łrappedGraph
is mandatory and it is allowed to have two dots at the end.
But I am maybe missing something
thank you for pointing this out to me. i had overlooked the inner optional.
the grammar suggests the following:
except for 'trig-star-annotation-1.trig' the syntax tests require