lazy-ffi can be added to the CHICKEN 6 egg repository if this syntax-error is 
changed to error. I tested the libc and libm examples in the egg documentation 
and they seemed to work as expected.

Index: lazy-ffi.scm
===================================================================
--- lazy-ffi.scm        (revision 46448)
+++ lazy-ffi.scm        (working copy) CHICKEN 6
@@ -452,7 +452,7 @@
          (cond [(or (not x) (string? x)) `(lazy-ffi:module ,x)]
                [(symbol? x) `(lazy-ffi:function ',x ',(lazy-ffi:generate-uid 
x))]
                [(list? x) `(list ,@(map process x))]
-               [else (syntax-error "invalid use of `#~'" x)] ) )
+               [else (error "invalid use of `#~'" x)] ) )
        (process x) ) ) )

 (set-sharp-read-syntax! #\~ lazy-ffi:read)


Diego

Reply via email to