The "Unknown:"s below indicate that an entry is incomplete.
{ ... }(1) | block (grouping statements, especially when statements are not expressions) |
BEGIN ... END | block (grouping statements, especially when statements are not expressions) |
(* ... *) | commenting (nestable) |
< > <= >= | comparison |
MIN / MAX | comparison (min / max (binary or more)) |
= #(2) | equality / inequality (shallow) |
( ... ) | grouping expressions |
case-sensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
[A-Z]+ | tokens (keyword regexp (if different from variable identifier regexp)) |
:= | variable assignment or declaration (assignment) |
Unknown:
documentation comment
information about the current line and file
tokens (what is the standard way for scrunching together multiple words)
tokens (variable identifier regexp)
breaking lines (useful when end-of-line and/or indentation has a special meaning)
force garbage collection
f(a,b,...) | function call |
RETURN | function return value (breaks the control flow) |
Unknown:
function call (with no parameter)
function definition
RETURN | breaking control flow (returning a value) |
TRY a EXCEPT exn => ... END | exception (catching) |
FINALLY | exception (cleanup: code executed before leaving) |
RAISE | exception (throwing) |
IF c THEN ... END | if_then |
IF c THEN b1 ELSIF c2 THEN b2 ELSE b3 END | if_then_else |
REPEAT ... UNTIL c | loop (do something until condition) |
LOOP ... END | loop (forever loop) |
WHILE c DO ... END | loop (while condition do something) |
CASE val OF v1 => ... | v2 => ... ELSE => ... END | multiple selection (switch) |
; | 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)
loop (for "a la C" (while + initialisation))
breaking control flow (goto (unconditional jump))
breaking control flow (continue / break)
: | annotation (or variable declaration) |
NARROW(e, t) | cast (downcast (need runtime checking)) |
TYPE n = t | declaration |
Unknown:
mutability, constness (type of a mutable value)
mutability, constness (type of a constant value)
object.method(para) | method invocation |
ISTYPE | testing class membership |
. | package scope |
Unknown:
declare
import
GetChar | accessing n-th character |
SUB | extract a substring |
& | string concatenation |
Cat | string concatenation |
Length | string size |
"..." | strings (with no interpolation of variables) |
Unknown:
type name
character type name
character "z"
strings (with interpolation of variables)
strings (end-of-line (without writing the real CR or LF character))
multi-line
convert something to a string (see also string interpolation)
serialize (marshalling)
unserialize (un-marshalling)
sprintf-like
simple print
string equality & inequality
duplicate n times
upper / lower case character
uppercase / lowercase / capitalized string
ascii to character
character to ascii
locate a substring
locate a substring (starting at the end)
FALSE | false value |
NOT | logical not |
OR / AND | logical or / and (short circuit) |
TRUE | true value |
Unknown:
type name
a[i] | list/array indexing |
Unknown:
type name
list concatenation
list flattening
list constructor
adding an element at the beginning (list cons)
adding an element at index
adding an element at the end
first element
all but the first element
last element
get the first element and remove it
get the last element and remove it
for each element do something
is an element in the list
smallest / biggest element
join a list of strings in a string using a glue string
list size
iterate with index
remove duplicates
sort
reverse
. | record (selector) |
^(3) | reference (pointer) (dereference) |
Unknown:
tuple type
tuple constructor
reference (pointer) (creation)
optional value (null value)
optional value (value)
optional value (null coalescing)
record (type declaration)
union type declaration
enumerated type declaration
dictionary (type name)
dictionary (constructor)
dictionary (access)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
dictionary (merge)
range
MOD | modulo (modulo of -3 / 2 is 1) |
Sqrt / / ABS | square root / e-exponential / absolute value |
/ ROUND / FLOOR / CEILING | truncate / round / floor / ceil |
Unknown:
type name
numbers syntax (integers)
numbers syntax (integers in base 2, octal and hexadecimal)
numbers syntax (floating point)
addition / subtraction / multiplication / division
exponentiation (power)
negation
random (random number)
random (seed the pseudo random generator)
operator priorities and associativities
trigonometry (basic)
trigonometry (inverse)
logarithm (base e)
logarithm (base 10)
bitwise operators