RE: HS violations in Corman

"Roger Corman" <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <000001c2eeaf$5e93b0a0$0300a8c0@roger>
I had no idea lambda forms supported doc strings. I thought those were
purely part of DEFxxx macros (defun, defvar, etc.). What is the system
supposed to do with them (besides properly parse them)?
 
I have fixed the problem with '|| (symbol with no name, or I should say,
a zero-length name) and will include it with the next patches. If
anybody is desparate for it let me know. That was another thing I had no
idea was supposed to be supported, but reading the detailed reader
algorithm it is clear that it should be allowed. 
 
Roger
-----Original Message-----
From: JP Massar [mailto:[email protected]] 
Sent: Wednesday, March 19, 2003 8:12 PM
To: roger Corman
Cc: [email protected]; [email protected]
Subject: [cormanlisp] HS violations in Corman



I've managed to get the ANSI test suite loaded into Corman Lisp
and even running to some degree (it eventually crashes)

( http://savannah.gnu.org/projects/gcl )




Here's a couple of problems it found:
 


;;; All keywords are supposed to be EXTERNAL, but some
;;; (perhaps those created by the system?) are not

:foo
:FOO
(find-symbol "FOO" :keyword)
:FOO
:EXTERNAL
(find-symbol "FUNCTIONS" :keyword)
:FUNCTIONS
:INTERNAL


;;; Lambda forms don't parse decls and doc correctly

defun foo (x y) (declare (ignore x)) "foo doc" (declare (ignore y)) 3)
FOO
((lambda (x y) (declare (ignore x)) "lambda doc" (declare (ignore y)) 3)
1 2)
;;; Warning: Function not defined: DECLARE
;;; Warning: Function not defined: IGNORE
;;; An error occurred in function #< COMPILED-FUNCTION: #x134D068 >:
;;; Error: The function IGNORE is undefined



Yahoo! Groups Sponsor	
 
<http://rd.yahoo.com/M=245314.3072841.4397732.2848452/D=egroupweb/S=1706
441874:HM/A=1495890/R=0/*http://www.netbizideas.com/yheb42> 	
 
<http://us.adserver.yahoo.com/l?M=245314.3072841.4397732.2848452/D=egrou
pmail/S=:HM/A=1495890/rand=687802331> 	

To unsubscribe from this group, send an email to:
[email protected]



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.