Script : Any sequence of expressions, separated by ;, last semicolon optionnal
morel-hugo / Micro quick syntax reference
Missing something?
Generic syntax
|
|
|
Comments : inline with |
Literals
|
Base building block of every Micro script |
|
Are however almost never explicitely written (but implicitely generated by special syntactic forms) |
|
Syntax : |
Operators
|
Arity : sets how many operands it takes |
|
Precedence : sets who gets the parentheses |
|
Syntax :
|
|
Special operators :
|
|
Primitive operators :
|
Macros
|
Are valid expressions |
|
Three styles : block, inline, declarative |
|
Block :
|
|
Inline :
|
|
Declarative :
|
|
where |