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 (until end of line) |
< > <= >= | comparison |
min / max | comparison (min / max (binary or more)) |
(define (f para1 para2) "..." ...) | documentation comment |
equal? | equality / inequality (deep) |
equal? | equality / inequality (shallow) |
eq? eqv? | equality / inequality (shallow) |
eval | runtime evaluation |
case-insensitive | tokens (case-sensitivity (keywords, variable identifiers...)) |
[_a-zA-Z!0&*/:<=>?^][_a-zA-Z!0&*/:<=>?^0-9.+-]* | tokens (variable identifier regexp) |
set! | variable assignment or declaration (assignment) |
define let let* letrec fluid-let | variable assignment or declaration (declaration) |
Missing:
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)
comparison (returns 3 values (i.e. inferior, equal or superior))
force garbage collection
(lambda (a b) ...) | anonymous function |
(f a b ...) (apply f l) | function call |
(f) | function call (with no parameter) |
(define (f para1 para2) ...) | function definition |
no syntax needed | function return value (function body is the result) |
Missing:
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
function composition
identity function
call-with-current-continuation (37) | call-with-current-continuation |
dynamic-wind | exception (cleanup: code executed before leaving) |
(if c b) | if_then |
(if c b1 b2) | if_then_else |
(cond (c b1) (c2 b2) (else b3)) | if_then_else |
(case val ((v1) expr1) ((v2) expr2) (else expr_else)) | multiple selection (switch) |
(begin ...) | sequence |
Missing:
loop (forever loop)
loop (while condition do something)
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)
Missing:
package scope
declare
import
string-ref | accessing n-th character |
integer->char | ascii to character |
#\z | character "z" |
char->integer | character to ascii |
substring | extract a substring |
all strings allow multi-line strings | multi-line |
display write | simple print (on any objects) |
string-append | string concatenation |
equal? | string equality & inequality |
string-length | string size |
"..." | strings (verbatim) |
char-upcase / char-downcase | upper / lower case character |
string-upcase / string-downcase | uppercase / lowercase / capitalized string |
Missing:
strings (with interpolation)
strings (end-of-line (without writing the real CR or LF character))
convert something to a string (see also string interpolation)
serialize (marshaling)
unserialize (un-marshaling)
duplicate n times
locate a substring
locate a substring (starting at the end)
#f | false value |
not | logical not |
or / and | logical or / and (short circuit) |
#t / anything not false | true value |
cons | adding an element at the beginning (list cons) (return the new list (no side-effect)) |
cdr | all but the first element |
car | first element |
for-each | for each element do something |
member memq memv | is an element in the list |
last | last element |
append | list concatenation |
'(a b c) | list constructor |
list | list constructor |
length | list size |
list-ref / vector-ref | list/array indexing |
assoc assq assv | lookup an element in a association list |
reverse | reverse |
min / max | smallest / biggest element |
sort (75) | sort |
map | transform a list (or bag) in another one |
map | transform two lists in parallel |
Missing:
list flattening
adding an element at index
adding an element at the end
get the first element and remove it
get the last element and remove it
join a list of strings in a string using a glue string
iterate with index
v | optional value (value) |
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)
optional value (null value)
record selector
dictionary (constructor)
dictionary (access)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
range
+ / - / * / / | addition / subtraction / multiplication / division |
expt | exponentiation (power) |
log / | logarithm |
remainder | modulo (modulo of -3 / 2 is -1) |
- | negation |
1000., 1E3 | numbers syntax (decimals) |
#b1, #o7, #xf | numbers syntax (integers in base 2, octal and hexadecimal) |
1000 | numbers syntax (integers) |
sqrt / exp / abs | square root / e-exponential / absolute value |
sin / cos / tan | trigonometry (basic) |
asin / acos / atan (88) | trigonometry (inverse) |
truncate / round / floor / ceiling | truncate / round / floor / ceil |
Missing:
numbers syntax (integer thousand-seperator)
random (random number)
random (seed the pseudo random generator)
bitwise operators