This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Evaluating Scheme from Java
Hi Per
On Fri, 18 Jun 2010 17:22:28 -0700 Per Bothner <per@bothner.com> wrote:
> On 06/17/2010 03:57 AM, Mario Domenech Goulart wrote:
>>
>> I'm trying to evaluate Scheme code from Java. The Java code
>> reads and evaluates the Scheme code which is in a file and calls
>> Java methods. I'm getting the following error:
>>
>> $ java -classpath .:api:kawa.jar SchemeLoader test.scm
>> Exception in thread "main" java.lang.Error: unknown code:f104
>> at gnu.lists.TreeList.nextDataIndex(TreeList.java:2241)
>
> Thanks for the helpful test-case.
> It turned out to be missing 'float' support in two places.
> I've checked in the attached patch into the SVN repository.
Thank you. Just tried the code from SVN and it works as expected.
Best wishes.
Mario
--
http://parenteses.org/mario