The "Unknown:"s below indicate that an entry is incomplete.
| [ ... ](1) | block (grouping statements, especially when statements are not expressions) |
| ~ | breaking lines (useful when end-of-line and/or indentation has a special meaning) |
| ; | commenting (until end of line) |
| < > <= >= | comparison |
| .eq | equality / inequality (deep) |
| = <> | equality / inequality (shallow) |
| gc | force garbage collection |
| ( ... ) | grouping expressions |
| run | runtime evaluation |
| case-insensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
| dots | tokens (what is the standard way for scrunching together multiple words) |
| make "v e | variable assignment or declaration (assignment) |
Unknown:
information about the current line and file
tokens (variable identifier regexp)
comparison (min / max (binary or more))
| [ ... ] | anonymous function |
| f a b ... | function call |
| f | function call (with no parameter) |
to f :para1 :para2 ... end | function definition |
| output | function return value (breaks the control flow) |
Unknown:
partial application (in the examples below, a normal call is "f(a,b)") (give the first argument)
partial application (in the examples below, a normal call is "f(a,b)") (give the second argument)
partial application (in the examples below, a normal call is "f(a,b)") (give the first argument to operator ">")
partial application (in the examples below, a normal call is "f(a,b)") (give the second argument to operator ">")
| / stop | breaking control flow (continue / break) |
| goto | breaking control flow (goto (unconditional jump)) |
| output | breaking control flow (returning a value) |
| catch | exception (catching) |
| throw | exception (throwing) |
| if c [...] | if_then |
| ifelse c [b1] [b2] | if_then_else |
| until c [...] | loop (do something until condition) |
| do.while [...] c | loop (do something until condition) |
| for [i 1 10 -1] [...] | loop (for each value in a numeric range, 1 decrement) |
| for [i 1 10 +1] [...] | loop (for each value in a numeric range, 1 increment (see also the entries about ranges)) |
| for [i 1 10 2] [...] | loop (for each value in a numeric range, free increment) |
| forever | loop (forever loop) |
| while c [...] | loop (while condition do something) |
| do.while [...] c | loop (while condition do something) |
Unknown:
sequence
multiple selection (switch)
loop (for "a la C" (while + initialisation))
| item | accessing n-th character |
| ascii | ascii to character |
| "z | character "z" |
| char | character to ascii |
| find | locate a substring |
| simple print (on any objects) | |
| word | string concatenation |
| count | string size |
| "... | strings (with no interpolation of variables) |
| uppercase / lowercase | upper / lower case character |
| uppercase/lowercase | uppercase / lowercase / capitalized string |
Unknown:
multi-line
sprintf-like
string equality & inequality
locate a substring (starting at the end)
| false | false value |
| not(2) | logical not |
| or / and | logical or / and (short circuit) |
| true | true value |
| fput | adding an element at the beginning (list cons) (return the new list (no side-effect)) |
| lput | adding an element at the end (return the new list (no side-effect)) |
| butfirst | all but the first element |
| first | first element |
| foreach | for each element do something |
| pop | get the first element and remove it |
| dequeue | get the last element and remove it |
| memberp / member? | is an element in the list |
| last | last element |
| sentence | list concatenation |
| [ a b c ] | list constructor |
| item | list/array indexing |
| gprop | lookup an element in a association list |
| reverse | reverse |
| map / map.se | transform a list (or bag) in another one |
| map | transform two lists in parallel |
| map.se | transform two lists in parallel |
Unknown:
find an element
keep elements
partition a list: elements matching, elements non matching
split a list
is the predicate true for an element
is the predicate true for every element
list size
remove duplicates
list of couples from 2 lists
2 lists from a list of couples
f(... f(f(init, e1), e2) ..., en)
f(e1, f(e2, ... f(en, init) ...))
| iseq | range (inclusive .. inclusive) |
Unknown:
tuple constructor
reference (pointer) (creation)
reference (pointer) (dereference)
optional value (null value)
optional value (value)
optional value (null coalescing)
| + / - / * / / | addition / subtraction / multiplication / division |
| sum / difference / product / quotient | addition / subtraction / multiplication / division |
| bitand / bitor / bitxor | bitwise operators (and / or / xor) |
| bitnot | bitwise operators (bitwise inversion) |
| ashift lshift | bitwise operators (left shift / right shift / unsigned right shift) |
| power | exponentiation (power) |
| log10 | logarithm (base 10) |
| ln | logarithm (base e) |
| remainder | modulo (modulo of -3 / 2 is -1) |
| modulo | modulo (modulo of -3 / 2 is 1) |
| - | negation |
| minus | negation |
| 1000., 1E3 | numbers syntax (floating point) |
| 1000 | numbers syntax (integers) |
| random | random (random number) |
| rerandom | random (seed the pseudo random generator) |
| sqrt / exp / | square root / e-exponential / absolute value |
| radsin / radcos / radtan | trigonometry (basic) |
| / / radarctan | trigonometry (inverse) |
| int / round / / | truncate / round / floor / ceil |
Unknown:
operator priorities and associativities
