This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: problem with telnet server
jason songhurst wrote:
kawa does the same thing with one line:
(define (f n) (f))
neither of these examples should run in any scheme, because they make
calls that have the wrong number of arguments. however in some other
interpreted schemes (SCM, Bigloo, MzScheme) they croak when evaluated,
not when defined.
it seems like when kawa tries to compile these expressions, the bytecode
emitter throws a NullPointerException and no one catches the exception
and the JVM shuts down...
NOt quite sure when or how this broke. But ...
This is related to something I'm working on right now. Basically,
there isn't any really clean way to report errors at code generation
time, and this error isn't caught before code generation time. So
I'm re-doing the structure of the compiler a bit to improve this.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/