This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: readtable support added to Kawa
- To: Per Bothner <per at bothner dot com>
- Subject: Re: readtable support added to Kawa
- From: Thomas Kirk <tk at research dot att dot com>
- Date: Wed, 25 Apr 2001 16:51:29 -0400 (EDT)
- Cc: kawa at sources dot redhat dot com
- References: <m2hezfzcwq.fsf@kelso.bothner.com>
- Reply-To: tk at research dot att dot com
the inclusion of readtable support is nice, but there is a problem
evidently related to the new reader; eval from a string now throws
an EOF exception for any input:
Scheme.eval(string, Environment.getCurrent());
java.lang.RuntimeException: eval: errors while compiling:
<string>:1:43: unexpected EOF in list
at kawa.standard.Scheme.eval(Scheme.java:742)
at kawa.standard.Scheme.eval(Scheme.java:714)
at Kawa.eval(Kawa.java:36)
haven't yet tracked down where this is going wrong, but one can sidestep
the problem as follows:
Scheme.eval(new ScmRead(new InPort(new StringReader(s))).readObject(),
Environment.getCurrent());