[shex] cyclic triple expressions (#91)

ericprud has just created a new issue for https://github.com/shexSpec/shex:

== cyclic triple expressions ==
The cruel test `schemas/_all` has a [cyclic nesting](https://github.com/shexSpec/shexTest/blob/23d746ff603d2f2c35fa0647818a2ee2b634d2c3/schemas/_all.shex#L95-L96):
```
_: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.


Please view or discuss this issue at https://github.com/shexSpec/shex/issues/91 using your GitHub account

Received on Friday, 11 January 2019 06:43:35 UTC