FYI - CLISP 2.33 support seems to be broken in CVS. Here's the contents of the *inferior-lisp* buffer when I attempt to load CLISP:
[1]> ;; Loading file C:\usr\home\site\slime\swank-loader.lisp ... ;; Compiling C:\usr\home\site\slime\swank-backend.lisp...
Compiling file C:\usr\home\site\slime\swank-backend.lisp ... WARNING in DEFINTERFACE-GEN-DEFAULT-IMPL in lines 98..119 : variable RECEIVED-ARGS is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE EMACS-CONNECTED (STREAM) ...)-22-3-1-1 in lines 208..218 : variable STREAM is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE MAKE-STREAM-INTERACTIVE (STREAM) ...)-40-3-1-1 in lines 342..348 : variable STREAM is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE FRAME-PACKAGE (FRAME) ...)-50-3-1-1 in lines 443..446 : variable FRAME is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE CONDITION-REFERENCES (CONDITION) ...)-60-3-1-1 in lines 502..509 : variable CONDITION is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE CONDITION-EXTRAS (CONDITION) ...)-61-3-1-1 in lines 511..515 : variable CONDITION is not used. Misspelled or missing IGNORE declaration? WARNING in (DEFINTERFACE BUFFER-FIRST-CHANGE (FILENAME) ...)-71-3-1-1 in lines 556..558 : variable FILENAME is not used. Misspelled or missing IGNORE declaration?
Wrote file C:\usr\home.slime\fasl\clisp-2.33\swank-backend.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\swank-backend.fas ... ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\swank-backend.fas ;; Compiling C:\usr\home\site\slime\nregex.lisp...
Compiling file C:\usr\home\site\slime\nregex.lisp ...
Wrote file C:\usr\home.slime\fasl\clisp-2.33\nregex.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\nregex.fas ... ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\nregex.fas ;; Compiling C:\usr\home\site\slime\xref.lisp...
Compiling file C:\usr\home\site\slime\xref.lisp ...
Wrote file C:\usr\home.slime\fasl\clisp-2.33\xref.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\xref.fas ... ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\xref.fas ;; Compiling C:\usr\home\site\slime\metering.lisp...
Compiling file C:\usr\home\site\slime\metering.lisp ...
Wrote file C:\usr\home.slime\fasl\clisp-2.33\metering.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\metering.fas ... ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\metering.fas ;; Compiling C:\usr\home\site\slime\swank-clisp.lisp...
Compiling file C:\usr\home\site\slime\swank-clisp.lisp ... WARNING: DEFMETHOD: redefining method (LISP-IMPLEMENTATION-TYPE-NAME NIL) in C:\usr\home\site\slime\swank-clisp.lisp, was defined in top-level WARNING: DEFMETHOD: redefining method (UNPROFILE-ALL NIL) in C:\usr\home\site\slime\swank-clisp.lisp, was defined in top-level WARNING in COMPILER-NOTE-LOCATION in lines 374..386 : *BUFFER-NAME* is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in COMPILER-NOTE-LOCATION in lines 374..386 : *BUFFER-NAME* is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in COMPILER-NOTE-LOCATION in lines 374..386 : *BUFFER-OFFSET* is neither declared nor bound, it will be treated as if it were declared SPECIAL.
Wrote file C:\usr\home.slime\fasl\clisp-2.33\swank-clisp.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\swank-clisp.fas ... WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<GENERIC-FUNCTION CALL-WITHOUT-INTERRUPTS> WARNING: Replacing method #<STANDARD-METHOD NIL> in #<GENERIC-FUNCTION LISP-IMPLEMENTATION-TYPE-NAME> WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<GENERIC-FUNCTION SET-DEFAULT-DIRECTORY> WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<GENERIC-FUNCTION ARGLIST> WARNING: Replacing method #<STANDARD-METHOD NIL> in #<GENERIC-FUNCTION UNPROFILE-ALL> WARNING: DEFUN/DEFMACRO: redefining function BREAK in C:\usr\home.slime\fasl\clisp-2.33\swank-clisp.fas, was defined in D:\gnu\clisp\sf\clisp\build-O-mingw\condition.fas ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\swank-clisp.fas ;; Compiling C:\usr\home\site\slime\swank-gray.lisp...
Compiling file C:\usr\home\site\slime\swank-gray.lisp ...
Wrote file C:\usr\home.slime\fasl\clisp-2.33\swank-gray.fas ;; Loading file C:\usr\home.slime\fasl\clisp-2.33\swank-gray.fas ... ;; Loaded file C:\usr\home.slime\fasl\clisp-2.33\swank-gray.fas ;; Compiling C:\usr\home\site\slime\swank.lisp...
Compiling file C:\usr\home\site\slime\swank.lisp ... *** - Non-existent directive Current point in control string: Value: ~D = #x~X = #o~O = #b~:,,' ,8B = ~E | Break 1 SWANK[2]>
Bill_Clementson@peoplesoft.com writes:
FYI - CLISP 2.33 support seems to be broken in CVS. Here's the contents of the *inferior-lisp* buffer when I attempt to load CLISP:
[snip]
Current point in control string: Value: ~D = #x~X = #o~O = #b~:,,' ,8B = ~E | Break 1 SWANK[2]>
I think this control string is legal and CLISP is broken.
I added a IMO fixed version of CLISP's format string parser to swank-clisp.lisp. The patch against the CLISP source file is attached below, in case somebody has the motivation to report the bug to the CLISP developers.
Helmut
Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Bill_Clementson@peoplesoft.com writes:
FYI - CLISP 2.33 support seems to be broken in CVS. Here's the contents of the *inferior-lisp* buffer when I attempt to load CLISP:
[snip]
Current point in control string: Value: ~D = #x~X = #o~O = #b~:,,' ,8B = ~E | Break 1 SWANK[2]>
I think this control string is legal and CLISP is broken.
It's not, and clisp is quite right, though its error message is somewhat poor. In SBCL:
* (format nil "~:,,' ,8B" 1)
debugger invoked on a SB-FORMAT:FORMAT-ERROR in thread 3429: error in FORMAT: parameters found after #: or #@ modifier ~:,,' ,8B ^ See also: The ANSI Standard, Section 22.3
Cheers,
Christophe
Christophe Rhodes csr21@cam.ac.uk writes:
I think this control string is legal and CLISP is broken.
It's not, and clisp is quite right, though its error message is somewhat poor. In SBCL:
- (format nil "~:,,' ,8B" 1)
debugger invoked on a SB-FORMAT:FORMAT-ERROR in thread 3429: error in FORMAT: parameters found after #: or #@ modifier ~:,,' ,8B ^ See also: The ANSI Standard, Section 22.3
I see. Had to read it twice before I got it.
Thanks.
Helmut.