INSERT A PAGE 31 ADD THE FOLLOWING PARAGRAPH AT THE END of the section on symbols. Caution: GENSYM is an Interlisp-D function that behaves similarly to, but not completely like, the Common Lisp function called GENSYM. SECTION UNDER INPUT/OUTPUT CALLED "WHAT THE READ FUNCTION UNDERSTANDS." INITIAL PARAGRAPH SHOULD BE REPLACED WITH THESE TWO PARAGRAPHS: INSERT B PAGE 45 While CML contains no Common-Lisp-specific reader, there is a Common Lisp read table (CMLRDTBL holds it) that is active with a Common Lisp Listener window (see the section below on CMLEXEC). Note that these type-in formats will only be available inside such a Listener window. Remember that this window expects atoms to be typed in lowercase; they will be converted to uppercase appropriately. CMLRDTBL [Variable] Contains the Interlisp-D read table that emulates some Common Lisp reader functions. AT THE BEGINNING OF THE "WHAT THE READ FUNCTION UNDERSTANDS" SSECTION, JUST AFTER "ALL OF THESE PRESUME..." INSERT C PAGE 45 Note that in the CMLRDTBL the bracket characters ©©[]¹¹ have no special semantics (as per the Common Lisp standard). Note that the only floating-point format supported for type-in is that of Interlisp-D, i.e., one that uses capital ©©E,©© as in ©©1.2E6.©© The backquote facility is implemented. Note that the standard Interlisp-D pretty-printing functions will display backquoted expressions in a slightly different format. The comment character semicolon, ©©;¹¹, will cause characters following it, up to and including an end-of-line character, to be ignored. Note that such comments are thrown away at read time and cannot be reproduced by MAKEFILE. The backslash, ©©\¹¹, is the ©©quote the next character©© character. The hash sign, ©©#¹¹, has a macro attached to it that implements a number of the hash sign reader functions. These include the following: #' [Reader macro] Is the ©©function quote,¹¹ equivalent to wrapping the next form in the expression (FUNCTION. . .). #. [Reader macro] Indicates read time evaluation, which causes the next form to be evaluated at read time and its value substituted in its place. #, [Reader macro] Indicates load time evaluation, a compiler pass through to evaluate at read of compiled file. Currently this is equivalent to use of the #. read macro. #* [Reader macro} Precedes a bit vector (see CMLArray documentation). #(...) [Reader macro] Is the format for vectors (see CMLArray documentation). #Oddd [Reader macro] Reads a number in octal notation (base eight). #Bddd [Reader macro] Reads a number in binary notation (base two). #Xddd [Reader macro] Reads a number in hexidecimal notation (base 16). #rA(...) [Reader macro] Is the array-printing format (see the CMLArray documentation). #+feature expr [Reader macro] If ©©with feature©© reader. If the current implementation contains the feature named by the symbol in the "feature" position, then the following expression ©©expr©© is read in. If the feature is not in the implementation, the expression ©©expr©© is skipped over. #-feature expr [Reader macro] If ©©without feature©© reader. If the current implementation does not contain the feature named by the symbol in the "feature" position, then the following expression ©©expr©© is read in. If the feature is in the implementation, the expression ©©expr©© is skipped over. *FEATURES* [Variable] A list containing symbols naming all the "features" in the current implementation, as well as the name of the implementation (for Interlisp-D the symbol is "INTERLISP"). #|comment chars|# [Reader macro] This is the balanced (evenly delimited) hash comment reader. Any characters can appear between the hash vertical bar ©©brackets.©© Appearances of balanced hash comments within a balanced hash comment must themselves be ©©balanced.©© #< [Reader macro] Reading this sequence of characters signals an error. This is the output format used by the "unreadable object printer.¹¹ It is handy to know when an attempt to read such an object is made. (ÌÌø (ÌÌø (ÌÌø(.ÌÌøø(ÌÌø(MODERN MODERN MODERN @2(DEFAULTFONT 1 (MODERN 10) (GACHA 8) (TERMINAL 8)) BˆH@ŒUku‹©æE‹c€™48/.2? ª!ë¿©izº