Marco Maggi <[email protected]> writes:

> "cdiddca" wrote:
>> There is sbank http://live.gnome.org/sbank based on GObject
>> Introspection http://live.gnome.org/GObjectIntrospection
>
> It worked!  (For both Ikarus  and Ypsilon) 
>
Yippey!

>   I  had  to  take  a  version of  Xitomatl  I  had  already
> downloaded  a  while ago  (revision  179)  because for  some
> reason the  Bazaar checkout failed.  I just  copied it under
> "systems/xitomatl" in the Spe's source tree.
>
Could you provide the error message?

>   For Ypsilon I set:
>
> YPSILON_SITELIB=$SPE/systems/xitomatl:$SPE/systems:$SPE/systems/spells/
>
> where $SPE  is the full  pathname to Spe's top  source tree.
> For Ikarus  I did  the same with  IKARUS_LIBRARY_PATH.
>
>From the fact that it worked, I figure you've run SPE's
"./scripts/fetch-systems $IMPL sbank" (which calls "./scripts/launch
$IMPL build" as a last step) successfully. Then you could just have set
$YPSILON_SITELIB to $SPE/r6rs-libs, FWIW.

> Then just:
>
> $ cd $SPE
> $ ypsilon systems/sbank/examples/gtk/calendar.sps
> $ ikarus --r6rs-script systems/sbank/examples/gtk/calendar.sps
>
> and enjoy!
>
You can spare you the fiddling with the library path environment
variables by using "./scripts/launch $IMPL <whatever script you wanna
run>". I've now added that information to the sbank docs, including a
link to the SPE docs, which have a bit more detail.

>   Andreas, when September comes will you start a negotiation
> with me  to merge our  FFI libraries into a  single version?
> We  can continue to  distribute them  separately.  I  need a
> couple of weeks to review the my documentation and to finish
> some bits of the Mosh compatibility library.
>
Sure. Just prod me about it.

>   I have not yet a multischeme interface for callouts, though.  I will
> have to look into it.
>
A relevant issue in this regard is discussed in [0]. I've not solved
this directly in spells, but in sbank -- see support/type-data.sls [1],
the "signature" part. 

I think that the FFI currently in spells (or something similiar) could
form the lower level, common-denominator API, with significant parts of
its implementation being specific to a single Scheme implementation, and
on top of that, one could provide stuff like the signature API that's
currently in sbank (after cleaning it up accordingly). OTOH, as a first
step, doing just the lower-level part, and leaving the higher levels as
a playground for experimenting with different approaches might be
better.

[0] https://bugs.launchpad.net/ikarus/+bug/336384
[1]
http://github.com/rotty/sbank/blob/8435f9ce2b8adb69900edab2ddb0ae9ba0da5c74/support/type-data.sls

[ OT: Is there a way to link to HEAD blobs in github? Having those SHA-1
  hashes in URLs really annoy me to no end ]

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>

Reply via email to