Syntax Specification

The grammar and lexical specification for the standard ODIN syntax is shown below in ANTLR4 form.

Unresolved include directive in modules/odin/pages/syntax_spec.adoc - include::partial$adl2/odin.g4[]

The following grammar defines ODIN terminal value syntax, and can be imported by any parser needing the ODIN values.

Unresolved include directive in modules/odin/pages/syntax_spec.adoc - include::partial$adl2/odin_values.g4[]

The following grammar defines syntax of generic base patterns.

Unresolved include directive in modules/odin/pages/syntax_spec.adoc - include::partial$adl2/base_patterns.g4[]