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 (until end of line) |
lt gt le ge | comparison |
eq ne | equality / inequality (shallow) |
def | variable assignment or declaration (assignment) |
Unknown:
documentation comment
information about the current line and file
tokens (case-sensitivity (keywords, variable identifiers...))
tokens (what is the standard way for scrunching together multiple words)
tokens (variable identifier regexp)
comparison (min / max (binary or more))
runtime evaluation
force garbage collection
{ ... } (arguments are in the stack | anonymous function |
a b ... f | function call |
f | function call (with no parameter) |
/f { ... } def | function definition |
Unknown:
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
/ exit | breaking control flow (continue / break) |
c ... if | if_then |
c b1 b2 ifelse | if_then_else |
10 -1 1 ... for | loop (for each value in a numeric range, 1 decrement) |
1 1 10 ... for | loop (for each value in a numeric range, 1 increment (see also the entries about ranges)) |
1 2 10 ... for | loop (for each value in a numeric range, free increment) |
loop | loop (forever loop) |
Unknown:
loop (while condition do something)
loop (do something until condition)
loop (for "a la C" (while + initialisation))
exception (throwing)
exception (catching)
Unknown:
package scope
declare
import
s 0 get | character to ascii |
cvs | convert something to a string (see also string interpolation) |
search | locate a substring |
length | string size |
(...) | strings (with no interpolation of variables) |
Unknown:
character "z"
strings (with interpolation of variables)
strings (end-of-line (without writing the real CR or LF character))
multi-line
serialize (marshalling)
unserialize (un-marshalling)
sprintf-like
simple print
string equality & inequality
string concatenation
duplicate n times
upper / lower case character
uppercase / lowercase / capitalized string
ascii to character
accessing n-th character
extract a substring
locate a substring (starting at the end)
false | false value |
not(1) | logical not |
or / and | logical or / and (non short circuit (always evaluates both arguments)) |
true | true value |
forall | for each element do something |
[ a, b, c ](2) | list constructor |
length | list size |
a i get(3) | list/array indexing |
Unknown:
list concatenation
list flattening
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
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 get | dictionary (access: read) |
h k o put | dictionary (access: write) |
<< a b c d >> | dictionary (constructor) |
known | dictionary (has the key ?) |
undef | dictionary (remove by key) |
Unknown:
tuple constructor
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (empty tuple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (1-uple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (using a tuple for a function call)
reference (pointer) (creation)
reference (pointer) (dereference)
optional value (null value)
optional value (value)
optional value (null coalescing)
record (selector)
dictionary (list of keys)
dictionary (list of values)
dictionary (merge)
range
add / sub / mul / idiv div | addition / subtraction / multiplication / division |
and / or / xor | bitwise operators (and / or / xor) |
not | bitwise operators (bitwise inversion) |
bitshift | bitwise operators (left shift / right shift / unsigned right shift) |
exp | exponentiation (power) |
log | logarithm (base 10) |
ln | logarithm (base e) |
mod | modulo (modulo of -3 / 2 is -1) |
neg | negation |
sqrt / / abs | square root / e-exponential / absolute value |
sin / cos / | trigonometry (basic) |
/ / atan | trigonometry (inverse) |
truncate / round / floor / ceiling | truncate / round / floor / ceil |
/ round / floor / ceiling | truncate / round / floor / ceil |
Unknown:
numbers syntax (integers)
numbers syntax (integers in base 2, octal and hexadecimal)
numbers syntax (floating point)
random (random number)
random (seed the pseudo random generator)