Layout

Layouts, inherited from Haskell, are a convenient and flexible basis for whitespace-sensitive syntax. At the core, a production Layout S P parses token S, followed by a sequence of P productions, following a few simple rules:

compare & contrast with Python's INDENT/DEDENT tokens

Use in SydML

I decided that SydML will use layouts in the future, only after considering the following pros:

Further reading