The "Unknown:"s below indicate that an entry is incomplete.
nothing needed | breaking lines (useful when end-of-line and/or indentation has a special meaning) |
( ... ) | commenting (non nestable) |
\ | commenting (until end of line) |
< > <= >= | comparison |
u< u> u<= u>= | comparison |
f< f> | comparison |
min / max | comparison (min / max (binary or more)) |
fmin / fmax | comparison (min / max (binary or more)) |
compare | comparison (returns 3 values (i.e. inferior, equal or superior)) |
= <> | equality / inequality (shallow) |
f= f<> | equality / inequality (shallow) |
allocate throw | manual memory allocation (allocation) |
free throw | manual memory allocation (deallocation) |
evaluate | runtime evaluation |
case-insensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
anything without a space and is not a number | tokens (variable identifier regexp) |
e v ! | variable assignment or declaration (assignment) |
variable v(1) | variable assignment or declaration (declaration) |
e value v | variable assignment or declaration (declaration) |
Unknown:
tokens (what is the standard way for scrunching together multiple words)
:noname ... | anonymous function |
a b ... f | function call |
f | function call (with no parameter) |
: f ... ; | function definition |
exit | function return value (breaks the control flow) |
/ leave | breaking control flow (continue / break) |
exit | breaking control flow (returning a value) |
catch | exception (catching) |
throw | exception (throwing) |
c if b1 then | if_then |
c if b1 else b2 then | if_then_else |
begin ... c until | loop (do something until condition) |
1 10 do ... -1 +loop | loop (for each value in a numeric range, 1 decrement) |
11 1 do ... loop | loop (for each value in a numeric range, 1 increment (see also the entries about ranges)) |
11 1 do ... 2 +loop | loop (for each value in a numeric range, free increment) |
begin ... again | loop (forever loop) |
begin c while ... repeat | loop (while condition do something) |
val case v1 of ... endof v2 of ... endof ... endcase | multiple selection (switch) |
Unknown:
loop (for "a la C" (while + initialisation))
over n chars + c@ | accessing n-th character |
char z, [char] z(2) | character "z" |
over n chars + len | extract a substring |
type | simple print (on strings) |
dup(3) | string size |
s"..." | strings (with no interpolation of variables) |
false | false value |
0(4) | false value |
=0 | logical not |
true | true value |
-1 | true value |
a i cells + @ (for write access: o a i cells + ! | list/array indexing |
Unknown:
list constructor
for each element do something
list size
0(5) | optional value (null value) |
! | reference (pointer) (assigning (when dereferencing doesn't give a lvalue)) |
variable | reference (pointer) (creation) |
@ | reference (pointer) (dereference) |
Unknown:
optional value (value)
optional value (null coalescing)
record (selector)
dictionary (constructor)
dictionary (access)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
dictionary (merge)
+ / - / * / / | addition / subtraction / multiplication / division |
f+ / f- / f* / f/ | addition / subtraction / multiplication / division |
and / or / xor | bitwise operators (and / or / xor) |
invert | bitwise operators (bitwise inversion) |
lshift / rshift | bitwise operators (left shift / right shift / unsigned right shift) |
/mod | euclidean division (both quotient and modulo) |
f** | exponentiation (power) |
flog | logarithm (base 10) |
fln | logarithm (base e) |
mod | modulo (modulo of -3 / 2 is -1) |
negate | negation |
fnegate | negation |
1000e, 1e3 | numbers syntax (floating point) |
$f | numbers syntax (integers in base 2, octal and hexadecimal) |
1000 | numbers syntax (integers) |
fsqrt / fexp / abs,fabs | square root / e-exponential / absolute value |
fsin / fcos / ftan | trigonometry (basic) |
fasin / facos / fatan | trigonometry (inverse) |
/ fround / / | truncate / round / floor / ceil |
Unknown:
random (random number)
random (seed the pseudo random generator)