[Chicken-users] How to load modules for compilation

2014-10-06 Thread Sascha Ziemann
Hi, I have a simple program using the blowfish egg in a macro to do some obscurity: (require-extension blowfish) (define-syntax curtain (ir-macro-transformer (lambda (form inject compare?) (let* ((str (cadr form)) (len (string-length str)) (pad (make-string

Re: [Chicken-users] How to load modules for compilation

2014-10-06 Thread Peter Bex
On Mon, Oct 06, 2014 at 03:44:38PM +0200, Sascha Ziemann wrote: But when I try to compile it I get an error: $ csc -R blowfish -ss curtain.scm Error: during expansion of (curtain ...) - unbound variable: blowfish#make-blowfish-encryptor I am wondering why the blowfish function is unbound

Re: [Chicken-users] How to load modules for compilation

2014-10-06 Thread Sascha Ziemann
2014-10-06 15:53 GMT+02:00 Peter Bex peter@xs4all.nl: On Mon, Oct 06, 2014 at 03:44:38PM +0200, Sascha Ziemann wrote: Error: during expansion of (curtain ...) - unbound variable: blowfish#make-blowfish-encryptor You can do (begin-for-syntax (require-extension blowfish)) to make

Re: [Chicken-users] How to load modules for compilation

2014-10-06 Thread Christian Kellermann
Sascha Ziemann cev...@gmail.com writes: 2014-10-06 15:53 GMT+02:00 Peter Bex peter@xs4all.nl: On Mon, Oct 06, 2014 at 03:44:38PM +0200, Sascha Ziemann wrote: Error: during expansion of (curtain ...) - unbound variable: blowfish#make-blowfish-encryptor You can do (begin-for-syntax

Re: [Chicken-users] How to load modules for compilation

2014-10-06 Thread John Cowan
Christian Kellermann scripsit: -R foo is basically saying (require-extension foo) at toplevel, so the problem of making the definitions available at compile time remain. There probably should be a csc option to do this. I thought that -X would, but it doesn't. -- John Cowan

Re: [Chicken-users] [Chicken-hackers] CHICKEN in production

2014-10-06 Thread r
Hello Alex 03.10.2014 19:44, alex пишет: That's pretty dope. Thanks for sharing that. What was the most wonderful thing you experienced? What was the most dangerous? --Alex Functional programming with FFI and set!ters really powerful, but some time its not working as expected and look