This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
autoload error
- From: "Alexandre Lemaire" <rm1x at rogers dot com>
- To: <kawa at sources dot redhat dot com>
- Date: Tue, 15 Jul 2003 12:50:49 -0400
- Subject: autoload error
Hello,
This happens:
java.lang.RuntimeException: invalid syntax in eval form:
<string>:1:29: failed to find class kawa.lib.std_syntax while autoloading
cond
at kawa.lang.Eval.evalBody(Eval.java:81)
at kawa.lang.Eval.evalBody(Eval.java:36)
at kawa.standard.Scheme.eval(Scheme.java:750)
at kawa.standard.Scheme.eval(Scheme.java:734)
This trying to execute the following scheme code:
(define (expression x y a)
(cond ((or (= y 0) (= (+ x y) 0))
(display "denominator must not be equal to zero" ) )
(else
(/ (+ (* 5 6 ) (+ a (- 3 (* 6 2 ) ) ) )
(* (* 3 (+ x y ) ) (* y 7 ) ) ) ) ))
How to fix?
Thanks.
Alex