Trying to get screamer working
From: rif (rif_at_mit.edu)
Date: 07/28/04
- Next message: Thomas A. Russ: "Re: Style and/or advisability of this symbol-macrolet usage"
- Previous message: Kenny Tilton: "Re: ACL -> Stream from one thread to the other"
- Next in thread: Gorbag: "Re: Trying to get screamer working"
- Reply: Gorbag: "Re: Trying to get screamer working"
- Reply: norman werner: "Re: Trying to get screamer working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jul 2004 13:26:22 -0400
I'm trying to get screamer working (under CMUCL 19a, from 2004-04).
I downloaded it from Siskind's website, and AFAICT one simply calls
compile-file on screamer.lisp, then loads the resulting fasl file.
Out of the box, the compile fails with an error:
Compiling DEFSTRUCT-COMPILE-TIME (VARIABLE (PRINT-FUNCTION PRINT-VARIABLE) (PREDICATE VARIABLE?) (CONSTRUCTOR MAKE-VARIABLE-INTERNAL)):
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
;
; Error: (during macroexpansion)
;
; Attempt to modify the locked package COMMON-LISP, by defining type BOOLEAN
Looking in screamer.lisp, I noticed there was a
(deftype boolean () '(member t nil))
and also noted that this seems to be built in to CMUCL, so I
conditionalized it out (it was already conditionalized out for
allegro-v4.2). After this it compiled and loaded fine, but trying to
use any screamer functions (such as a-subset-of, as defined in one of
the papers) gives me an error:
Error in function SCREAMER::SCREAMER-ERROR:
A-BOOLEAN is a nondeterministic function. As such, it must be called only
from a nondeterministic context.
There are eight types of nondeterministic contexts: the body of a
function defined with DEFUN, the body of a call to the FOR-EFFECTS
macro, the first argument of a call to the ONE-VALUE macro, the body of
a call to the POSSIBLY? macro, the body of a call to the NECESSARILY?
macro, the body of a call to the ALL-VALUES macro, the second argument
of a call to the ITH-VALUE macro and the body of a call to the
PRINT-VALUES macro. Note that, the default forms of &OPTIONAL and &KEY
arguments and the initialization forms of &AUX variables, are always
deterministic contexts even though they may appear inside a DEFUN.
[Condition of type SIMPLE-ERROR]
Any idea how to fix this? Is there a different place I should be
getting a "CMU"-ized screamer from?
As always, any help is appreciated.
Cheers,
rif
- Next message: Thomas A. Russ: "Re: Style and/or advisability of this symbol-macrolet usage"
- Previous message: Kenny Tilton: "Re: ACL -> Stream from one thread to the other"
- Next in thread: Gorbag: "Re: Trying to get screamer working"
- Reply: Gorbag: "Re: Trying to get screamer working"
- Reply: norman werner: "Re: Trying to get screamer working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|