logo       

RE: HS violations in Corman: msg#00114

lisp.corman

Subject: RE: HS violations in Corman

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:massar@xxxxxxxxxxxx]
Sent: Wednesday, March 19, 2003 8:12 PM
To: roger Corman
Cc: cormanlisp@xxxxxxxxxxxxxxx; dietz@xxxxxxx
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



To unsubscribe from this group, send an email to:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


To unsubscribe from this group, send an email to:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise