Syntax and Semantics

The JudoScript grammar comprises of

The non-terminals are expressed in an extended BNF (Backus-Naur Form). Keywords are shown like prepare; terminals are IDENTIFIER, and non-terminals are Statement. The following table lists all the extended BNF symbols.

SymbolMeaning
::= "is defined as"
| or
( ) as a group
( )* a group that can repeat 0 or more times
( )+ a group that can repeat 1 or more times
( )? a group that may or may not be present
[ ] a group that may or may not be present; same as ( )?
( ),* a group that can repeat 0 or more times, with commas separating each other
( ),+ a group that can repeat 1 or more times, with commas separating each other

Terminals are described in English.

Keywords are listed with the non-terminals that they are used. Refer to the semantics of each non-terminal for how the keywords are used.