Alan grammar syntax

Syntax

How to read grammars

Keywords

Properties

'First Name': text = "Alice"
'Last Name': text = "Ecila"

In the grammars, indent is an instruction for the deparser/pretty-printer; you can ignore it. Furthermore, properties that are marked implicit exist for type checking purposes only.

Typical quirks of the Alan compiler