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]

Re: readtable support added to Kawa


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());


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