This forum has been archived. Please start a
new discussion on GitHub
Is there documentation on the Slice grammar? I'd like to try my hand at building an ANTLR grammar for Slice...
We don't have a formal description of the Slice grammar in our manual, only the manual chapter that describes Slice. You can have a look at src/slice/Grammar.y. However, this contains more than just the Slice grammar, as it also handles illegal constructs for the sole purpose of displaying error messages that are more descriptive than a simple "syntax error".