|
[Sbcl-help] compiler complains: don't know how to dump
From: Jeffrey Berger <jeff@cl...> - 2008-09-16 14:31
|
Googling this problem suggests this might be an sbcl issue. Details ...
I'm getting this message:
caught ERROR:
; don't know how to dump ?GO-VAR1 (default MAKE-LOAD-FORM method called).
sldb says:
Execution of a form compiled with errors.
Form:
(LET* ((G88 'WENT) (G89 'DEFINTION))
(MULTIPLE-VALUE-BIND
(G91)
'(((ASSIGN *PART-OF-SPEECH* 'VERB *CD-FORM*
'(PTRANS (ACTOR ?GO-VAR1) (OBJECT ?GO-VAR1) (TO ?GO-VAR2)
(FROM ?GO-VAR3))
GO-VAR1 *SUBJECT* GO-VAR2 NIL GO-VAR3 NIL)
(NEXT-PACKET ..
[Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
Restarts:
0: [ABORT-COMPILATION] Abort SLIME compilation request.
1: [ABORT] Return to SLIME's top level.
2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker" RUNNING
{B2639E1}>)
Backtrace:
0: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file
/home/jeff/Documents/NLP/icu/micro-eli.fasl" ..
1: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
2: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]508))
3: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK ..)
4: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file
/home/jeff/Documents/NLP/icu/micro-eli.fasl" {B4..
5: ((FLET SB-FASL::LOAD-STREAM) #<SB-SYS:FD-STREAM for "file
/home/jeff/Documents/NLP/icu/micro-eli.fas..
6: (LOAD #P"/home/jeff/Documents/NLP/icu/micro-eli.fasl")[:EXTERNAL]
7: ((FLET #:FORM-FUN-739))
8: ((LAMBDA (PATHNAME SWANK-BACKEND::LOAD-P
SWANK-BACKEND::EXTERNAL-FORMAT)) #P"/home/jeff/Documents/NL..
9: ((LAMBDA (PATHNAME SWANK-BACKEND::LOAD-P
SWANK-BACKEND::EXTERNAL-FORMAT)) #P"/home/jeff/Documents/NL..
10: ((LAMBDA ()))
--more--
The associated code is:
(defword went
((assign *part-of-speech* 'verb
*cd-form* '(ptrans (actor ?go-var1)
(object ?go-var1)
(to ?go-var2)
(from ?go-var3))
go-var1 *subject*
go-var2 nil
go-var3 nil)
(next-packet
((test (equal *word* 'to))
(next-packet
((test (equal *part-of-speech* 'noun-phrase))
(assign go-var2 *cd-form*))))
((test (equal *word* 'home))
(assign go-var2 '(house))))))
Where
(defmacro defword (&body def)
`(progn (setf (get ',(car def) 'defintion) ',(cdr def))
',(car def)))
|
| Thread | Author | Date | |
|---|---|---|---|
| [Sbcl-help] compiler complains: don't know how to dump | Jeffrey Berger <jeff@cl...> |
|
|