[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] javahack bug?
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] javahack bug? |
Date: |
Mon, 24 Sep 2007 08:20:05 +0200 |
On 9/20/07, Fred Morain-Nicolier <address@hidden> wrote:
> Hello,
>
> i try to use the javahack eggs in order to debug java-based programs. I get
> confused when trying to create Arrays. I finally find a problem (a bug?) when
> sending some expressions to jscheme. Here is an example :
>
> <session>
> CHICKEN
> Version 2.710 - linux-unix-gnu-x86-64 - ...
> #;1> (use javahack)
> ; loading /usr/local/lib/chicken/2/javahack.scm ...
> ; loading /usr/local/lib/chicken/2/javahack-base.so ...
> #;2> (java-send '(list->array double.class (list 1 2 3)))
> Error: list-terminator mismatch
> #\)
> #\]
> Call history:
> <syntax> (java-send (quote (list->array double.class (list 1
> 2 3))))
> <syntax> (quote (list->array double.class (list 1 2 3)))
> <eval> (java-send (quote (list->array double.class (list 1 2 3))))
> </session>
>
> Is someone ever get (and resolved?) this problem ?
The problem is that (list->array ...) in jscheme writes something that
can not read back in ("address@hidden") again by chicken's s-expr reader. Only
data that can be portably read/written between chicken and jscheme
can be exchanged.
cheers,
felix