The "Unknown:"s below indicate that an entry is incomplete.
indentation | block (grouping statements, especially when statements are not expressions) |
# | commenting (until end of line) |
< > <= >= | comparison |
min / max | comparison (min / max (binary or more)) |
compare | comparison (returns 3 values (i.e. inferior, equal or superior)) |
compare | comparison (returns 4 values (i.e. inferior, equal, superior or not comparable)) |
= <> | equality / inequality (shallow) |
( ... ) | grouping expressions |
runtime_compile / compile + execute | runtime evaluation |
case-sensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
[_a-zA-Z][_a-zA-Z0-9]* or '[^']*' | tokens (variable identifier regexp) |
CamelCase for types, underscores for functions, variables, ... | tokens (what is the standard way for scrunching together multiple words) |
:= | variable assignment or declaration (assignment) |
var | variable assignment or declaration (declaration) |
gvar | variable assignment or declaration (declaration) |
Unknown:
documentation comment
information about the current line and file
force garbage collection
f a b ... | function call |
f | function call (with no parameter) |
function f para1 para2 -> retval arg typ1 para1; arg typ2 para2; arg rettyp retval; ... | function definition |
return(1) | function return value (breaks the control flow) |
restart / leave | breaking control flow (continue / break) |
return(1) | breaking control flow (returning a value) |
?, shy, safe | exception (catching) |
error | exception (throwing) |
if c ... | if_then |
if c b1 eif c2 b2 else b3 | if_then_else |
shunt c b1 c2 b2 b3 | if_then_else |
while c ... | loop (while condition do something) |
; | sequence |
end-of-line | sequence |
Unknown:
loop (for each value in a numeric range, 1 increment (see also the entries about ranges))
loop (for each value in a numeric range, 1 decrement)
loop (for each value in a numeric range, free increment)
t v | annotation (or variable declaration) |
cast e t | cast (computed conversion (calls an internal or a user-defined function)) |
... cast t | cast (computed conversion (calls an internal or a user-defined function)) |
type n ... | declaration |
Unknown:
mutability, constness (type of a mutable value)
mutability, constness (type of a constant value)
type | class declaration |
first parameter(2) | current instance |
object method para | method invocation |
object:method | method invocation (with no parameter) |
new | object creation |
entry_type | testing class membership |
Unknown:
object cloning
manually call an object's destructor
get the type/class corresponding to an object/instance/value
inheritance
accessing parent method
s:n | accessing n-th character |
character | ascii to character |
number | character to ascii |
to_string | convert something to a string (see also string interpolation) |
string | convert something to a string (see also string interpolation) |
repeat | duplicate n times |
s n len | extract a substring |
console | simple print (on strings) |
+ | string concatenation |
= <> | string equality & inequality |
len | string size |
"[lf]" | strings (end-of-line (without writing the real CR or LF character)) |
"..." | strings (with no interpolation of variables) |
Str | type name |
upper / lower(3) | upper / lower case character |
Unknown:
character "z"
strings (with interpolation of variables)
multi-line
serialize (marshalling)
unserialize (un-marshalling)
sprintf-like
uppercase / lowercase / capitalized string
locate a substring
locate a substring (starting at the end)
false | false value |
not(4) | logical not |
or / and | logical or / and (short circuit) |
true | true value |
Bool | type name |
append | adding an element at the end (side-effect) |
+= | adding an element at the end (side-effect) |
first | first element |
each | for each element do something |
last | last element |
size | list size |
a:i | list/array indexing |
List | type name |
Unknown:
list concatenation
list flattening
list constructor
adding an element at the beginning (list cons)
adding an element at index
all but the first element
get the first element and remove it
get the last element and remove it
is an element in the list
smallest / biggest element
join a list of strings in a string using a glue string
iterate with index
remove duplicates
sort
reverse
h:k | dictionary (access: read/write) |
exists | dictionary (has the key ?) |
Dictionary | dictionary (type name) |
r:field | record (selector) |
:> :>> | reference (pointer) (creation) |
Unknown:
tuple type
tuple constructor
reference (pointer) (dereference)
optional value (null value)
optional value (value)
optional value (null coalescing)
record (type declaration)
union type declaration
enumerated type declaration
dictionary (constructor)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
dictionary (merge)
range
+ / - / * / / | addition / subtraction / multiplication / division |
^ | exponentiation (power) |
log10 | logarithm (base 10) |
log | logarithm (base e) |
% | modulo (modulo of -3 / 2 is -1) |
- | negation |
1b, Fh | numbers syntax (integers in base 2, octal and hexadecimal) |
1000 | numbers syntax (integers) |
/ exp / abs | square root / e-exponential / absolute value |
sin / cos / tan | trigonometry (basic) |
asin / acos / atan(5) | trigonometry (inverse) |
Float, Float32, Float64 | type name (floating point) |
Int, uInt, Int8, Int16... | type name (integers) |
Unknown:
numbers syntax (floating point)
random (random number)
random (seed the pseudo random generator)
operator priorities and associativities
truncate / round / floor / ceil
bitwise operators
common variables are copied at thread creation, in abscence of a "share" statement | passing data directly between threads |
thread ... | thread definition |
parallel [threads nb_threads] [mini mini_threshold] [maxi maxi_threshold] [active] ... task parallel_instructions [post sequential_instructions] ... | thread definition |