read macros: ' == (quote ) #' == (function ) #(...) == an array of the specified expressions #x == a hexadecimal number #\ == the ASCII code of the character ` == (backquote ) , == (comma ) ,@ == (comma-at ) Functions (* ...) multiply a list of numbers (+ ...) add a list of numbers (- ...) subtract a list of numbers or negate a single number (/ ...) divide a list of numbers (/= ) test for not equal to (1+ ) add one to a number (1- ) subtract one from a number (< ) test for less than (<= ) test for less than or equal to (= ) test for equal to (> ) test for greater than (>= ) test for greater than or equal to (abs ) the absolute value of a number (address-of ) get the address of an xlisp node (alloc ) change number of nodes to allocate in each segment (and []...) the logical and of a list of expressions(shortcircuited) (append []...) append lists (apply ) apply a function to a list of arguments (aref ) get the nth element of an array (assoc [ ]) find an expression in an a-list (atom ) is this an atom? (backquote ) fill in a template - Macro arguments prefixed by comma (baktrace []) print n levels of trace back information (boundp ) is this a bound symbol? (break [ []]) enter a break loop (car ) return the car of a list node (case []...) select by case ::=( []...) (catch []...) evaluate expressions and catch throws (cdr ) return the cdr of a list node (cerror []) signal a correctable error (char ) extract a character from a string (clean-up) clean-up after an error (close ) close a file (comma ) evaluate argument in a backquoted macro body(?) (comma_at ) evaluate argument in a backquoted macro body and splice (cond []...) evaluate conditionally ::= ( []...) (cons ) construct a new list node (consp ) is this a non-empty list? (continue) continue from a correctable error (cos ) compute the cosine of a number (cxxr ) all cxxr combinations (cxxxr ) all cxxxr combinations (cxxxxr ) all cxxxxr combinations (define ( ) []...) Scheme-like definition (defmacro []...) define a macro (defun []...) define a function (delete [ ]) delete an expression from a list (do ([]...) ( []...) []...) (do* ([]...) ( []...) []...) (dolist ( []) []...) loop through a list (dotimes ( []) []...) loop from zero to n-1 (eq ) are the expressions identical? (eql ) are the expressions identical? (equal ) are the expressions equal? (error []) signal a non-correctable error (errset []) trap errors (eval ) evaluate an xlisp expression (evalhook []) evaluate with hooks (evenp ) is this number even? (exit) exit xlisp (exp ) compute e to the x power (expand ) expand memory by adding segments (expt ) compute x to the y power (flatc ) length of printed representation using princ (flatsize ) length of printed representation using prin1 (float ) converts an integer to a floating point number (funcall []...) call a function with arguments (function ) quote a function (gc) force garbage collection (gensym []) generate a symbol (get ) get the value of a property (go ) go to a tag within a prog construct (hash ) compute the hash index for a symbol (help ) Scan functions.lsp for function named (if []) if texpr then expr1 else expr2 (intern ) make an interned symbol (lambda []...) make a function closure (last ) return the last list node of a list (length ) find the length of a list or string (let ([]...) []...) create local bindings (let* ([]...) []...) let with sequential binding (list []...) create a list of values (listp ) is this a list? (load [ []]) load an xlisp source file (logand ...) the bitwise and of a list of numbers (logior ...) the bitwise inclusive or of a list of numbers (lognot ) the bitwise not of a number (logxor ...) the bitwise exclusive or of a list of numbers (make-array ) make a new array (make-symbol ) make an uninterned symbol (man) Display the manual pages (mapc []...) apply function to successive cars (mapcar []...) apply function to successive cars (mapl []...) apply function to successive cdrs (maplist []...) apply function to successive cdrs (max ...) the largest of a list of numbers (mem) show memory allocation statistics (member [ ]) find an expression in a list (min ...) the smallest of a list of numbers (minusp ) is this number negative? (nconc []...) destructively concatenate lists (not ) is this false? (nth ) return the nth element of a list (nthcdr ) return the nth cdr of a list (null ) is this an empty list? (numberp ) is this a number? (oddp ) is this number odd? (open ) open a file, returns stream for I/O (or []...) the logical or of a list of expressions (peek ) peek at a location in memory (peek-char [ []]) peek at the next character (plusp ) is this number positive? (poke ) poke a value into memory (prin1 []) print a list of values (princ []) print a list of values without quoting (print []) print a list of values on a new line (prog ([]...) []...) the program feature (prog* ([]...) []...) prog with sequential binding (prog1 []...) execute expressions sequentially (prog2 []...) execute expressions sequentially (progn []...) execute expressions sequentially (putprop ) put a property onto a property list (quote ) return an expression unevaluated (random ) compute a random number between 1 and n-1 (read [ [ []]]) read an xlisp expression (read-char []) read a character from a file or stream (read-line []) read a line from a file or stream (rem ...) remainder of a list of numbers (remove [ ]) remove an expression (remprop ) remove a property (return []) cause a prog construct to return a value (reverse ) reverse a list (rplaca ) replace the car of a list node (rplacd ) replace the cdr of a list node (set ) set the value of a symbol (setf [ ]...) set the value of a field (setq [ ]...) set the value of a symbol (sin ) compute the sine of a number (sqrt ) compute the square root of a number (strcat []...) concatenate strings (string ) make a string from an integer ascii value (sublis [ ]) substitute with an a-list (subst [ ]) substitute expressions (subseq []) extract a substring (symbol-name ) get the print name of a symbol (symbol-plist ) get the property list of a symbol (symbol-value ) get the value of a symbol (symbolp ) is this a symbol? (system string) send string as command to operating system. (tan ) compute the tangent of a number (terpri []) terminate the current print line (throw []) throw to a catch (top-level) clean-up after an error and return to the top level (transcript []) create a file with a transcript of a session (truncate ) truncates a floating point number to an integer (type-of ) returns the type of the expression (write-char []) write a character to a file or stream (zerop ) is this number zero?