Core Features¶
Core implementation¶
Some core features provide wide range of possibilities for the dialect implementation.
1. Call with options¶
It has the structure:
1 2 3 4 5 |
|
It can be used to define an identifier id
to hold some transformation through the options that are functions call (and not identifiers, as usually in function calls with arguments) with values being the body that is executed for that particular option.
Example: if
statement.
2. Call with body¶
It has the structure:
1 |
|
3. Call with body options¶
It has the structure:
1 2 3 4 5 |
|
Example: pattern matching match
.
4. Modifier¶
It has the structure:
1 2 3 |
|
Example: []