{"action":"created","issue":{"url":"https://api.github.com/repos/arineng/jcr/issues/3","labels_url":"https://api.github.com/repos/arineng/jcr/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/arineng/jcr/issues/3/comments","events_url":"https://api.github.com/repos/arineng/jcr/issues/3/events","html_url":"https://github.com/arineng/jcr/issues/3","id":112549651,"number":3,"title":"Combiner precedence","user":{"login":"codalogic","id":1752198,"avatar_url":"https://avatars.githubusercontent.com/u/1752198?v=3","gravatar_id":"","url":"https://api.github.com/users/codalogic","html_url":"https://github.com/codalogic","followers_url":"https://api.github.com/users/codalogic/followers","following_url":"https://api.github.com/users/codalogic/following{/other_user}","gists_url":"https://api.github.com/users/codalogic/gists{/gist_id}","starred_url":"https://api.github.com/users/codalogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codalogic/subscriptions","organizations_url":"https://api.github.com/users/codalogic/orgs","repos_url":"https://api.github.com/users/codalogic/repos","events_url":"https://api.github.com/users/codalogic/events{/privacy}","received_events_url":"https://api.github.com/users/codalogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-21T09:41:40Z","updated_at":"2015-10-23T15:28:50Z","closed_at":null,"body":"Moved and enhanced from jcrvalidator...\r\n\r\nWhat is the relative precedence of the choice and sequence combiners? The current text says \"Sequence and choice combinations maybe mixed, with evaluation occurring in the order the rules are specified\", but I'm not sure what that means. For example, does [ this | that, other | more ] correspond to [ (this | that), (other | more) ], [ this | (that, other) | more ], or [ ((this | that), other) | more ] (left to right precedence?)?\r\n\r\nRelax NG says that you have to be explicit about the groupings. So [ this | that, other | more ] would be illegal. The GCC C|C++ compiler generates a warning if you do the equivalent of that, even though it is not ambiguous in the language, so maybe people struggle with the precedence of them. It makes me think that the Relax NG approach has some merit and one should be required to explicitly group operators, i.e. do [ (this | that), (other | more) ], or [ this | (that, other) | more ].\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/arineng/jcr/issues/comments/150608061","html_url":"https://github.com/arineng/jcr/issues/3#issuecomment-150608061","issue_url":"https://api.github.com/repos/arineng/jcr/issues/3","id":150608061,"user":{"login":"anewton1998","id":7232969,"avatar_url":"https://avatars.githubusercontent.com/u/7232969?v=3","gravatar_id":"","url":"https://api.github.com/users/anewton1998","html_url":"https://github.com/anewton1998","followers_url":"https://api.github.com/users/anewton1998/followers","following_url":"https://api.github.com/users/anewton1998/following{/other_user}","gists_url":"https://api.github.com/users/anewton1998/gists{/gist_id}","starred_url":"https://api.github.com/users/anewton1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anewton1998/subscriptions","organizations_url":"https://api.github.com/users/anewton1998/orgs","repos_url":"https://api.github.com/users/anewton1998/repos","events_url":"https://api.github.com/users/anewton1998/events{/privacy}","received_events_url":"https://api.github.com/users/anewton1998/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T15:28:50Z","updated_at":"2015-10-23T15:28:50Z","body":"Alright... I'm getting your point. Let me think about this some, but I think you may be right about this."}}