diff options
Diffstat (limited to 'doc.txt')
-rw-r--r-- | doc.txt | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -40,17 +40,20 @@ (clock): clock(3) (say x): print representation of x, followed by newline (write x): print representation of x, with no newline + (writebytes a): a is a list of nums in [0,255] (arr): create new empty array - (append a x): appends to array a, returns a - (len a): get length of array a + (append! a x): appends to array a in place, returns a + (# a): get length of array a (, ...): pend. concatenates arrays, promotes non-arrays to arrays (, [1 2 3] 4) -> [1 2 3 4] (, [1 2 3] [4 5]) -> [1 2 3 4 5] (, 10 20) -> [10 20] etc + (s, ...): spend. concatenates strings # cmdline args bth [-Dl] [-Dt] filenames... -Dl: print bytecode listing before execution -Dt: trace each executed bytecode instruction + -Ds: dump read s-expressions filename "-" can be provided to mean stdin. |