|
Felix operators and operator names (these need to be checked!). A chainable binary operator such as + creates a list of subexpressions. |
|
Assignment operators are sugar for statements, so only one is allowed. = asgn |
|
let <expr> in <expr> prefix |
|
, chain |
|
Note that "shortcut" doesn’t apply in Felix since expressions are purely functional. || lor chain |
|
== eq binary -> arrow left assoc case <int> of <int> unassoc |
|
Note that + has a lower precedence than -, and * has a lower precedence than / which is unusual. - sub left assoc |
|
& prefix |
|
| bor chain |
|
(juxtaposition) left assoc |
|
: left assoc |
|
. left assoc |
|
:: left assoc |
|
of left assoc |
|
if/then/else/endif match <expr> with regmatch <expr> with (fun (<arglist>):<type> = { <expr>
}) (proc (<arglist>){ <statements> }) |
|
1.1.1 |
|
felix(1) for a language introduction and man page
index |
|
See http://felix.sourceforge.net |
|
John Maxwell Skaller, mailto:skaller@users.sourceforge.net |