Syntax in Alan
How to read grammars
- Keywords are between
'state group' [ '?' ] reference.
component 'some component'refers to a different component in the same language.
Typical quirks of the Alan compiler
- Keywords should be separated by whitespace, so
()doesn’t work but
- Quotes are recognized as something special, so you can write
- Single quotes are used for entities (things you can refer to or that refer to something else), double quotes are just strings.
- Only tabs are accepted for indentation.