The "Missing:"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) |
case-insensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
\S+ | tokens (variable identifier regexp) |
variable v (7) | variable assignment or declaration (declaration) |
Missing:
documentation comment
information about the current line and file
tokens (if case sensitive, what is the standard way for scrunching together multiple words)
block (grouping statements, especially when statements are not expressions)
equality / inequality
comparison
comparison (returns 3 values (i.e. inferior, equal or superior))
comparison (min / max (binary or more))
runtime evaluation
force garbage collection
a b ... f | function call |
: f ... ; | function definition |
Missing:
function call (with no parameter)
function return value
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
c if b1 then | if_then |
c if b1 else b2 then | if_then_else |
begin cond while expr repeat | loop (while condition do something) |
Missing:
multiple selection (switch)
loop (forever loop)
loop (do something until condition)
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 (returning a value)
breaking control flow (goto (unconditional jump))
breaking control flow (continue / break)
exception (throwing)
exception (catching)
Missing:
package scope
declare
import
emit | simple print (on strings) |
Missing:
character "z"
strings (verbatim)
strings (with interpolation)
strings (end-of-line (without writing the real CR or LF character))
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)
not | logical not |
or / and | logical or / and (non short circuit (always evaluates both arguments)) |
Missing:
false value
true value
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
! | reference (pointer) (assigning (when dereferencing doesn't give a lvalue)) |
@ | reference (pointer) (dereference) |
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)
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