This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project. See the Kawa home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Using scm-to class compiled files



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