Re: Matlisp-users digest, Vol 1 #121 - 2 msgs

C Rose <[email protected]> Sun, 29 May 2005 14:43:45 +0100
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
Hi all

Further to my previous mail, in order to fix the LOAD-1-FOREIGN error, 
I edited lib/lazy-loader.lisp and lib/lazy-loader.lisp.in and replaced

   (sb-alien:load-1-foreign "matlisp:lib;libmatlisp.so"))

with

   (sb-alien:load-shared-object "matlisp:lib;libmatlisp.so"))

in each of the files. LOAD-1-FOREIGN is now deprecated in SBCL and is 
replaced by LOAD-SHARED-OBJECT. I wonder if one of the developers could 
commit this fix to CVS?

(I'm a bit new to CL, so I'm not sure what the difference between .lisp 
and .lisp.in files are. Anyone care to educate me?)

Superficially, Matlisp now appears to work fine under SBCL (version 
0.9) on Linux x86 (haven't tried OS X yet).

One potential buglet appears when using the HELP function: before the 
documentation for the specified function is displayed, there are a 
series of 'notes' displayed (shown below). Not sure if this is a 
significant problem or not.

Thanks to those who assisted,

Chris

The following are the notes that get displayed when HELP is used:

;     (FIRST MATLISP::ITEM)
; --> CAR
; ==>
;   MATLISP::ITEM
;
; note: deleting unreachable code

;     (SECOND MATLISP::ITEM)
; --> CADR CAR CDR
; ==>
;   MATLISP::ITEM
;
; note: deleting unreachable code

;     (DOLIST (MATLISP::I MATLISP::ITEM) (MATLISP::MAN MATLISP::I))
; --> BLOCK LET
; ==>
;   MATLISP::ITEM
;
; note: deleting unreachable code

;     (MATLISP::MAN MATLISP::I)
; ==>
;   MATLISP::I
;
; note: deleting unreachable code

;     (ERROR "don't know how to help ~a" MATLISP::ITEM)
; ==>
;   "don't know how to help ~a"
;
; note: deleting unreachable code
;
; compilation unit finished
;   printed 5 notes



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005