Open labra opened 4 years ago
That works and is a good idea. 2.2?
Another possibility that reduces the incentive to allow
<Shape> // <label> "My shape" { ... }
would be allowing leading annotations, e.g.
-- <label> "My shape"
<Shape> {
-- <label> "My property"
<p1> .
}
This would be nice 'cause it would cover triple expressions as well.
It becomes a feature request
@labra , @hsolbrig , opinions? (I'm leaning towards the leading annotations solution.)
The following shape parses:
while the following doesn't:
Could we adapt the grammar to allow the last shape?