The formal syntax for Kawa Scheme is written in an extended BNF.
Non–terminals are written
like-this. Case is insignificant
for non–terminal names.
Literal text (terminals) are written
All spaces in the grammar are for legibility.
The following extensions to BNF are used to make the
description more concise:
both mean zero or more occurrences of
thing+ means at least one
Some non-terminal names refer to the Unicode scalar values of the same
line-separator (U+2028), and