shexSpec / shex

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

cyclic triple expressions #91

Closed ericprud closed 5 years ago

ericprud commented 5 years ago

The cruel test schemas/_all has a cyclic nesting:

_:a·̀ͯ‿.⁀ CLOSED # &_:a·̀ͯ‿.⁀ &<http://all.example/S2>
{
  $_:a·̀ͯ‿.⁀e (
   &_:a·̀ͯ‿.⁀e;
   &<http://all.example/S2e> )
}

Ascii-ifying and ignoring comments, that's:

_:b1 CLOSED
{
  $_:b1e (
   &_:b1e;
   &<http://all.example/S2e> )
}

I don't think that's useful and it makes the language more complex to analyze and execute.

PROPOSE: prohibit cycles in triple expressions.

ericprud commented 5 years ago

CLOSED in 2019-01-16 meeting