SYMBOLS
All values are initially NIL unless otherwise specified. All are special variables unless indicated to be constants.
- NIL - represents empty list and the boolean value for "false". The value of NIL is NIL, and cannot be changed (it is a constant). (car NIL) and (cdr NIL) are also defined to be NIL.
- t - boolean value "true" is constant with value t.
- self - within a method context, the current object (see page 23), otherwise initially unbound.
- object - constant, value is the class 'Object.'
- class - constant, value is the class 'Class'.
- internal-time-units-per-second - integer constant to divide returned times by to get time in seconds.
- pi - floating point aproximation of pi (constant defined when math extension is compiled).
- *obarray* - the object hash table. Length of array is a compilation option. Objects are hashed using the hash function and are placed on a list in the appropriate array slot. This variable does note exist when the package feature is compiled in.
- *package* - the current package. Do not alter. Part of the package feature.
- *terminal-io* - stream bound to keyboard and display. Do not alter.
- *standard-input* - the standard input stream, initially stdin. If stdin is not redirected on the command line, then *terminal-io* is used so that all interactive i/o uses the same stream.
- *standard-output* - the standard output stream, initially stdout. If stdout is not redirected on the command line then *terminal-io* is used so that all interactive i/o uses the same stream.
- *error-output* - the error output stream (used by all error messages), initially same as *terminal-io*.
- *trace-output* - the trace output stream (used by the trace function), initially same as *terminal-io*.
- *debug-io* - the break loop i/o stream, initially same as *terminal-io*. System messages (other than error messages) also print out on this stream.
- *breakenable* - flag controlling entering break loop on errors (see page 8)
- *tracelist* - list of names of functions to trace, as set by trace function.
- *tracenable* - enable trace back printout on errors (see page 8).
- *tracelimit* - number of levels of trace back information (see page 8).
- *evalhook* - user substitute for the evaluator function (see page 12, and evalhook and applyhook functions).
- *applyhook* - user substitute for function application (see page 12, and evalhook and applyhook functions).
- *readtable* - the current readtable (see page 15).
- *gc-flag* - controls the printing of gc messages. When non-NIL, a message is printed after each garbage collection giving the total number of nodes and the number of nodes free.
- *gc-hook* - function to call after garbage collection (see page 12).
- *integer-format* - format for printing integers (when not bound to a string, defaults to "%d" or "%ld" depending on implementation)
- *ratio-format* - format for printing ratios (when not bound to a string, defaults to "%d/%d" or "%ld/%ld" depending on implementation)
- *float-format* - format for printing floats (when not bound to a string, defaults to "%g")
- *readtable-case* - symbol read and output case. See page 18 for details
- *print-case* - symbol output case when printing. See page 18 for details
- *print-level* - When bound to a number, list levels beyond this value are printed as '#'. Used by all printing functions. Good precaution to avoid getting caught in circular lists.
- *print-length* - When bound to a number, lists longer than this value are printed as '...'. Used by all printing functions. Good precaution to avoid getting caught in circular lists.
- *dos-input* - When not NIL, uses dos line input function for read (see page 6).
- *displace-macros* - When not NIL, macros are replaced by their expansions when exectuted (see page 11).
- *random-state* - the default random-state used by the random function.
- *features* - list of features, initially (:xlisp), used for #+ and #- reader macros.
- *startup-functions* - list of functions to be executed when workspace started
- *command-line* - the xlisp command line, in the form of a list of strings, one string per argument.
- *load-file-arguments* - When not NIL, file arguements are loaded at startup.
- *top-level-loop* - Top level loop to utilize, defaults to TOP-LEVEL-LOOP. Note that this function can only be restarted by executing TOP-LEVEL, and it never exits.
- *read-suppress* - When not NIL, inhibits certain parts of reading. Used by the #+ and #- macroes.
There are several symbols maintained by the read/eval/print loop. The symbols '+', '++', and '+++' are bound to the most recent three input expressions. The symbols '*', '**' and '***' are bound to the most recent three results. The symbol '-' is bound to the expression currently being evaluated. It becomes the value of '+' at the end of the evaluation.
XLISP-PLUS - Version 2.1g - Tom Almy
tom.almy@tek.com - 18 JUL 94
Generated with WebMaker