S-Expressions
The jpra language uses
s-expressions as the base for
all syntax. An s-expression
is described by the following EBNF grammar:
As shown, the jpra language
uses an extension of basic s-expressions
that allow for the optional use of either
square brackets or parentheses to increase the readability of large
nested expressions. These should be treated as interchangeable,
but must be correctly balanced as shown by the grammar. For example, the
expression [] is semantically
equivalent to (), but the expression
[) is invalid.