Pep and Nom

home | documentation | examples | translators | download | blog | all blog posts

the semicolon in the "nom" language syntax

The role of the semicolon ; in syntax of the ℕ𝕠𝕞 language.

All statements must be terminated with a semicolon in the Nom parsing language with the exception of the following:

 .reparse, .restart, and blocks *{...}*

I chose not to allow a semicolon after .reparse and .restart to emphasise the fact that they are jumps back to the parse> label or to the start of the script (but after the begin block).