- Feb 24, 2013
-
-
Raymond Toy authored
changed. * Rename the slot to %READTABLE-CASE (from READTABLE-CASE). * Add READTABLE-CASE and (SETF READTABLE-CASE) functions, as required. * Check for the standard readtable in (SETF READTABLE-CASE).
-
Raymond Toy authored
error.lisp:: * Create two new conditions, one for modifying the readtable and one for the pprint dispatch table. exports.lisp:: * Export the two new conditions. pprint.lisp:: * Add check to SET-PPRINT-DISPATCH to disallow modifying the standard pprint dispatch table. * Allow PPRINT-INIT to modify the standard pprint dispatch table. print.lisp:: * In WITH-STANDARD-IO-SYNTAX, don't copy a new dispatch table; bind *print-pprint-dispatch* to the standard table. reader.lisp:: * Add check to disallow modifying the standard readtable. * Allow INIT-STD-LISP-READTABLE to modify the standard readtable.
-
- Nov 04, 2011
-
-
Raymond Toy authored
-
- Sep 25, 2011
-
-
Raymond Toy authored
entries with just the file path, removing the revision number, date, author and state. The actual information is now computed during compilation and stored in the fasl itself. (See ticket:48.)
-
- Jan 27, 2011
-
-
rtoy authored
attribute-table-limit and if the newvalue is #'read-token, we don't actually add the entry to the character-macro-hash-table, because that is the default value for the hash-table. This helps to keep the hash-table size small.
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
-
-
rtoy authored
-
- Mar 19, 2010
-
-
rtoy authored
boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
-
- Feb 05, 2010
-
-
rtoy authored
the second return value; it always used *READTABLE* instead of the given readtable.
-
- Jun 11, 2009
-
-
rtoy authored
unicode-utf16-extfmt-2009-06-11.
-
- Jun 22, 2007
-
-
rtoy authored
of them. Use hash tables instead of an alists for holding and constructing the necessary objects. This can vastly speed up the reader in some cases. But unfortunately it slows down the reader when the circular structure is "small". Some care has been taken not to make the reader slow when there are now #= constructs. This is based on a patch from Jared Davis. reader.lisp: o Add the new hash tables and initialize them appropriately. sharpm.lisp: o Update #= and ## macros to use the new hash tables.
-
- Jun 30, 2006
-
-
rtoy authored
The merge is from the tag "double-double-irrat-end". The double-double branch is now obsolete. The code should build without double-double support (tested on sparc) as well as build with double-double support (tested also on sparc).
-
- Feb 19, 2006
-
-
rtoy authored
constituent trait is alphabetic, not multiple-escape. This fixes ansi test SET-SYNTAX-FROM-CHAR-TRAIT-X-#\|.
-
- Feb 18, 2006
-
-
rtoy authored
fixes SET-SYNTAX-FROM-CHAR.SINGLE-ESCAPE.1, SET-SYNTAX-FROM-CHAR.MULTIPLE-ESCAPE, SET-SYNTAX-FROM-CHAR.SHARP.1, SET-SYNTAX-FROM-CHAR.SHARP.2. o Fix up CHAR-CLASS, CHAR-CLASS2, and CHAR-CLASS3 to return the correct class. Based on SBCL. o SET-SYNTAX-FROM-CHAR shouldn't set the attribute from the secondary attribute. (I think.)
-
- Feb 17, 2006
-
-
rtoy authored
entire dispatch table of reader macro functions if the from-char is a dispatching macro character. Make it so.
-
- Oct 21, 2005
-
-
rtoy authored
converted to an internal number, an error of type reader-error is signaled." So, disable underflow traps, convert the number. If the resulting float is zero, but the number was not, signal a reader-error.
-
- May 06, 2005
-
-
rtoy authored
a list.
-
- Apr 30, 2005
-
-
rtoy authored
o Remove some unused code.
-
- Apr 28, 2005
-
-
rtoy authored
example 1/0. See CLHS 2.3.1.1.
-
- Apr 19, 2005
-
-
rtoy authored
non-NIL object. Fixes the MAKE-DISPATCH-MACRO-CHARACTER ansi-tests.
-
- Apr 18, 2005
- Dec 22, 2004
-
-
rtoy authored
read-preserving-whitespace, read-delimited-list, and read-from-string all return a primary value of nil. Make it so. We were returning a list of NILs previously.
-
- Oct 22, 2004
-
-
rtoy authored
to be T. Make it so. Bug reported by Bruno Haible, cmucl-imp, 2004-10-22.
-
- Jun 09, 2004
-
-
rtoy authored
faster bignum reader. Contributed by Mark Wooding on cmucl-imp, May 24, 2004.
-
- Apr 23, 2004
-
-
rtoy authored
simple-streams!
-
- Apr 22, 2004
-
-
rtoy authored
-
rtoy authored
(float -54965272/1000000000000000000) was printing as -5.496527e-11 but should be -5.4965272e-11 o Fix the float reader to read correctly, without roundoff: 4.0058643e+8 was incorrectly read as 12518325, 1 (integer-decode-float results). It should be 12518326,1. o Fix the float reader to read floats correctly with unusual values of *read-base*: (let ((*read-base* 2)) (read-from-string "-4.3e+7")) used to return a symbol instead of a float. This changes ported from SBCL.
-
- Nov 24, 2003
-
-
toy authored
behavior back to the old way where the parse is terminated as soon as possible, treating trailing whitespace as terminating characters.
-
- Nov 08, 2003
-
-
gerd authored
(require :gray-streams) (defclass my-in-stream (ext:fundamental-character-input-stream) ((last-char :initarg :last-char))) (let ((string " a ") (i 0)) (defmethod ext:stream-read-char ((s my-in-stream)) (with-input-from-string (s "b") (read s)) (with-slots (last-char) s (cond (last-char (prog1 last-char (setf last-char nil))) (t (prog1 (aref string i) (setq i (mod (1+ i) (length string))))))))) (defmethod ext:stream-unread-char ((s my-in-stream) char) (setf (slot-value s 'last-char) char) nil) (setq x (make-instance 'my-in-stream :last-char nil)) (read x) => b, instead of a * src/code/reader.lisp: Use a new read buffer for each call to read or read-preserving-whitespace, instead of using one global buffer. From Helmut Eller.
-
- Sep 08, 2003
- Jul 20, 2003
-
-
emarsden authored
compiler notification function.
-
- Jun 26, 2003
-
-
toy authored
Non-simple-streams-related changes: * Stop commands which go through invoke-command-interactive from affecting the history variables. * Fix some typos in comments * When the GC closes a lost stream, revert to original contents * Replace #+nil with #+(or) in unix*.lisp [NIL is a potentially valid feature name] Simple-streams-related changes: * Teach reader to handle simple-streams * Add missing package prefixes in OPEN * Add unix:unix-msync for force-output on mmapped files * Add placeholder documentation * Numerous changes in simple-streams implementation * Add "external-formats" directory for external formats Note: :BIG-ENDIAN or :LITTLE-ENDIAN should be put on *features*
-
- Jun 15, 2003
-
-
gerd authored
-
- Jun 14, 2003
- Jun 02, 2003
-
-
emarsden authored
- an extra optional argument to COMPILER-NOTIFICATION makes it possible to pass text describing the error/note to *COMPILER-NOTIFICATION-FUNCTION*. - functions for *COMPILER-NOTIFICATION-FUNCTION* have an extra second argument which describes the error/note - modify the eval-server functionality in Hemlock in consequence This backwards-incompatible change makes the *COMPILER-NOTIFICATION-FUNCTION* facility considerably more useful, since the description of the error (which was previously not passed to the notification-function) is very useful when reporting an error. Compile-time effect of DEFCONSTANT: instead of discarding the documentation string, add it to the info database.
-
- Nov 14, 2002
-
-
toy authored
The attached patch contains mostly trivial changes, including a few spelling corrections, plus changes to the types of condition raised in various cases. The only significant change, I believe, is - MAKE-DISPATCH-MACRO-CHARACTER no longer raises an error if the character already was defined to be a macro character; it overrides the previous definition (as per a suggestion from Drew McDermott on cmucl-help, dated 2002-09-22).
-