Re: [spec] ObjectLiteral type attribute (#54)

Hmm, Yes and no. The JSG in the spec spares the reader of some details. Some readers, however, pay attention to details (looking your direction). The JSG that I use for testing has a directive that [disables the type expectation for ObjectLiteral](https://github.com/shexSpec/shexTest/blob/main/doc/ShExJ.jsg#L11):
```
.TYPE type - ObjectLiteral
```
(The meaning is: expect the production name (e.g. `Schema`, `ShapeDecl`, `ShapeOr`, …) as `type` everywhere except those productions referenced after the `-`. Maybe there's a clearer name for `.TYPE`; maybe `.PRODNAME`? JSG can still change.)

So now the Q is do I
1. mention that directive, or at least it effect, in §2.1?
2. write a spec for [jsg](https://github.com/ericprud/jsg) and reference it from the grammar?
3. do nothing, assuming I've already communicated with the only person in the world who'll notice?

-- 
GitHub Notification of comment by ericprud
Please view or discuss this issue at https://github.com/shexSpec/spec/issues/54#issuecomment-1221473516 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 21 August 2022 05:46:20 UTC