This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autoload error


Alexandre Lemaire wrote:
This happens:

java.lang.RuntimeException: invalid syntax in eval form:
...

Works for me (kawa-1.7 and kawa cvs):


jim@CRPC37641:~/Software/kawa-1.7> bin/kawa.sh
#|kawa:1|# (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 ) ) ) ) ))
#|(---:2|# #|(---:3|# #|(---:4|# #|(---:5|# #|(---:6|# #|(---:7|#
#|kawa:8|# (expression 1 2 3)
4/21

Perhaps some file in your Kawa installation has been clobbered or you've got some other definition that is causing the problem.

Jim
--
"I love deadlines. I love the whooshing sound they make as they fly by." -- Douglas Adams



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]