[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling ucpop
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: compiling ucpop
- From: Roger Kirchner <rkirchne@phobos.mathcs.carleton.edu>
- Date: Tue, 11 Feb 1997 14:28:29 -0600 (CST)
- Cc: rkirchne@phobos.mathcs.carleton.edu (Roger Kirchner)
Can anyone understand why I might get the error
ERROR in function GET-OPERS-TEST-TEMPL in lines 263..275 :
RETURN-FROM block TEST-TEMPL is impossible from here.
when compiling
;;; quickly get those operators in the templates that match a condition
(defun get-opers (condition &aux (ret nil))
(labels ((test-templ (templ)
(dolist (e (p-step-add templ) nil)
(dolist (a (effect-add e))
(when (and (eql (car a) (car condition))
(or (not (eq (car a) :not))
(eql (caadr a) (caadr condition))))
(return-from test-templ t))))))
(dolist (templ *templates* ret)
(when (test-templ templ)
(push templ ret)))))
This is in ucpop.lisp from a planning system. Everything compiles
fine with Allegro on a NeXT. But I was hoping to use clisp.
The error doesn't occur when I just try to compile this code. It has
to do with the package environment. Unfortunately, I don't know how
to get determine the state of packages.
Thanks.
Roger Kirchner