shexSpec / shex

ShEx language issues, including new features for e.g. ShEx2.1
24 stars 8 forks source link

allow ()s around a triple constraint #87

Closed ericprud closed 5 years ago

ericprud commented 5 years ago

The ShEx 2.0 grammar included a construct to prevent "unnecessary" parens around TripleConstraints, e.g.

<S> {
  (<p> .)
}

These patches remove that restriction: spec patch shexTest patch shex.js patch part of larger Antlr grammar patch

PROPOSE: accept this change for ShEx 2.1