[Chicken-users] Problem with Syntax Case in 2.0

2005-07-21 Thread Dale Jordan
I have been experimenting with the implementation of srfi-57 which uses syntax-case and its module system. Under Chicken-1.89 I had added (at toplevel) a procedure definition to srfi-57.scm that was used in most of the modules. To be precise it was the following: (define symbolic-identifier=

[Chicken-users] C_alloc OK before C_invoke? (was Re: Constructing parameter lists in C)

2005-07-21 Thread Daniel B. Faken
On Thu, 21 Jul 2005, Daniel B. Faken wrote: > [] > > Now a preferable solution would be to construct the parameter list, > as a C_word (scheme-object) via C_list(...), and either > * use C_callback(scmfn, arglist) for callbacks or > * use a single entry-point 'scm_applyfn' that takes two > s

[Chicken-users] Constructing parameter lists in C: can I use FFI?

2005-07-21 Thread Daniel B. Faken
Hello all, I'm wondering how I can get access to Chicken's FFI for building function calls in C. The problem I have is that I need *entry points* as well as callbacks, because I am using Chicken as a (scripted) library which C programs will call out into (see http://chromium.sourceforge.net)

[Chicken-users] Recipe for distributing C files problematic

2005-07-21 Thread John.Cowan
I'm using chicken-2.0. I'm having trouble distributing C files correctly using the "hello world" example in section 3.5 of the manual. The host system is Cygwin and the target is Solaris 8 with gcc 2.95.2. I compiled hello.scm with the specified options to "chicken" and then transported "hello.c