Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-25 Thread Chris Mueller
Here is a small feedback from my system. I guess, it's nothing suprising now :] Operating system: Arch Linux (3.12.9, x86-64) C Compiler: 3.4 (tags/RELEASE_34/final) Installation works?: yes Tests work? yes Installatioin egg works? yes nice version for chicken. Best greetings, Chris Am

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-25 Thread Chris Mueller
Am 25.04.2014 14:58, schrieb Mario Domenech Goulart: Thanks for giving the RC1 tarball a try and providing feedback. Operating system: Arch Linux (3.12.9, x86-64) C Compiler: 3.4 (tags/RELEASE_34/final) Is this clang? Uh, sorry. Yes, it is clang :]

[Chicken-users] macros / imports

2014-04-25 Thread Chris Mueller
Hi, i'm currently writing some small helper macros for myself, that makes chicken's module system syntactically a little bit more similar to python's one. I would wish to have a macro that doesn't pollute the current namespace environment by default. It should introduce for each module a

Re: [Chicken-users] Changing string representation for records

2013-09-23 Thread Chris Mueller
Pretty Simple, thanks ! Am 22.09.2013 22:05, schrieb Evan Hanson: Hi Chris, On 2013-09-22 23:58, Chris Mueller wrote: Is there any possibility to specify the string output for this record instance? Take a look at `define-record-printer` (http://api.call-cc.org/doc/chicken/special-forms

[Chicken-users] Changing string representation for records

2013-09-22 Thread Chris Mueller
Hi, i've currently a generell question about string representation/output for records within the chicken interpreter. Assume: (define-record matrix rows cols data) #;1 (make-matrix 2 1 (f64vector 1 2)) #matrix Is there any possibility to specify the string output for this record instance?

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-09 Thread Chris Mueller
On 09.09.2013 00:07, Kristian Lein-Mathisen wrote: Ah, of course, John! I got them mixed up. In that case Chris, I think your color struct might fit quite nicely into a make-s32vector. I did not test the code below, but something like it might work: (define-foreign-type color* s32vector

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-06 Thread Chris Mueller
On 06.09.2013 09:07, Peter Bex wrote: On Fri, Sep 06, 2013 at 08:52:08AM +0200, Chris Mueller wrote: Hope its not too basic for you. :) Never, user questions are what this mailing list is for! I hope my answers make a little sense. Definitely! This is very helpful. I will immediately check

[Chicken-users] Basic FFI Principle in Chicken

2013-09-05 Thread Chris Mueller
Hi, i've currently started experimenting with the FFI interface provided by the chicken compiler and have some principle questions about its common usage. Assume the given C Code: struct color { int red; int green; int blue; int alpha; }; struct color* alloc_new_color(int red, int