Using scm-to class compiled files
Per Bothner
bothner@cygnus.com
Thu Jan 1 00:00:00 GMT 1998
I'm not sure what happened to you, but some notes that might help:
1) When I load your code (without compiling it), I get:
gnu.mapping.UnboundSymbol: Unbound symbol x
Which is as expected: eval-new refers to x, which is undefined.
(You probably meant exp.)
2) The command
java kawa.repl -P examples. eval.scm
Does not do anything. You need to use -C to compile. Check the manual.
3) Some of Java's error messages are bogus. Specifically, when a cast
fails, Java will write:
Invalid parameter, should be: java.lang.String
when in fact the parameter *is* java.lang.String, and should be
something else. This is a bug in Sun's implementation.
(I do have plans for a Kawa debugger, as well as a more friendly
error-checking mode, but I can't promise when either will be done.)
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner
More information about the Kawa
mailing list