Closed mitranim closed 1 year ago
I reduced this to a minimal example:
main : (~any)* ;
any
: `(`{open} (~any)* `)`{close}
| 'end'{end1}
| 'drop'{drop} 'if'{if}?
| 'natural'{natural}? 'end'{end2}
;
I've got a fix for that, but there's still something it doesn't like in your grammar. After fixing another issue it now never halts.
The following syntax used to compile in earlier SBNF versions, but fails to compile after updating SBNF.
v0.4.0
according to message fromcargo install
.v0.5.0
is also able to compile this syntax.v0.5.1
according to message fromcargo install
.Error: