The "Missing:"s below indicate that an entry is incomplete.
{ ... } | block (grouping statements, especially when statements are not expressions) |
/* ... */ | commenting (non nestable) |
// | commenting (until end of line) |
< > <= >= | comparison |
/* DOCUMENT ... */ | documentation comment |
== != | equality / inequality (shallow) |
( ... ) | grouping expressions |
= | variable assignment or declaration (assignment) |
Missing:
information about the current line and file
tokens (case-sensitivity (keywords, variable identifiers...))
tokens (if case sensitive, 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)
comparison (returns 3 values (i.e. inferior, equal or superior))
comparison (min / max (binary or more))
runtime evaluation
force garbage collection
f(a,b,...) | function call |
f, a, b, ... (18) | function call |
func f(a, b, c...) { ... } | function definition |
return | function return value (breaks the control flow) |
Missing:
function call (with no parameter)
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
continue / break | breaking control flow (continue / break) |
goto | breaking control flow (goto (unconditional jump)) |
return | breaking control flow (returning a value) |
if (c) {b} | if_then |
if (c) {b1} else {b2} | if_then_else |
c ? b1 : b2 | if_then_else |
do {expr} while (!cond) | loop (do something until condition) |
for | loop (for "a la C" (while + initialisation)) |
while (cond) expr | loop (while condition do something) |
Missing:
sequence
multiple selection (switch)
loop (forever loop)
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)
exception (throwing)
exception (catching)
require, "p" | import (package (ie. load the package)) |
Missing:
package scope
declare
write | simple print (on strings) |
"\n" | strings (end-of-line (without writing the real CR or LF character)) |
Missing:
character "z"
strings (verbatim)
strings (with interpolation)
multi-line
convert something to a string (see also string interpolation)
serialize (marshaling)
unserialize (un-marshaling)
sprintf-like
string equality & inequality
string size
string concatenation
duplicate n times
upper / lower case character
uppercase / lowercase / capitalized string
ascii to character
character to ascii
accessing n-th character
extract a substring
locate a substring
locate a substring (starting at the end)
Missing:
false value
true value
logical not
logical or / and
Missing:
list concatenation
list flattening
list constructor
list/array indexing
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
Missing:
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)
record selector
dictionary (constructor)
dictionary (access)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
range
Missing:
numbers syntax (integers)
numbers syntax (integers in base 2, octal and hexadecimal)
numbers syntax (integer thousand-seperator)
numbers syntax (decimals)
addition / subtraction / multiplication / division
exponentiation (power)
negation
random (random number)
random (seed the pseudo random generator)
operator priorities and associativities
square root / e-exponential / absolute value
trigonometry (basic)
trigonometry (inverse)
logarithm
modulo
truncate / round / floor / ceil
bitwise operators