C compatibility
All C operators are part of the lo specification with the exception of post-increment, post-decrement, and redirection operators.
Redirection operator (a->b
) should be replaced with member operator (a.b
), as lo exclusively uses pointers for objects. There are no structs, just use a class without any functions.
AFAIK the operator precedence is identical to C except &
, |
, and ^
are prioritized over &&
, ||
, ==
, and all other boolean operators.
New operators (not in C)
^^
was added as a boolean XOR.