[Chicken-users] Can't install srfi 47

2012-03-06 Thread Mark Carter
There seems to be a problem with srfi 47 root@miro:~# chicken-install srfi-47 retrieving ... resolving alias `kitten-technologies' to: http://chicken.kitten- technologies.co.uk/henrietta.cgi connecting to host chicken.kitten-technologies.co.uk, port 80 ... requesting

Re: [Chicken-users] Can't install srfi 47

2012-03-06 Thread Christian Kellermann
Hi Mark! * Mark Carter mcar...@markcarter.me.uk [120306 17:07]: root@miro:~# chicken-install srfi-47 [...] Warning: extension `srfi-47' has no .meta file - assuming it has no This error message is misleading. There is no egg with that name. Newer chickens will give a more meaningful error

Re: [Chicken-users] Can't install srfi 47

2012-03-06 Thread John Cowan
Christian Kellermann scripsit: * Mark Carter mcar...@markcarter.me.uk [120306 17:07]: root@miro:~# chicken-install srfi-47 [...] Warning: extension `srfi-47' has no .meta file - assuming it has no This error message is misleading. There is no egg with that name. Newer chickens

[Chicken-users] Making stack-allocated Chicken-managed objects from C

2012-03-06 Thread Kristian Lein-Mathisen
Hi guys! I would like to get a deeper understanding of Chicken's GC and its stack-allocation feature. I've numbered by questions, feel free to answer just one or two of them! I have been poking into the chicken-bind egg and I'd like to modify it slightly for my libraries' (Box2D, Chipmunk) heavy

[Chicken-users] Creating my own extensions

2012-03-06 Thread Mark Carter
I'm a bit confused about how to create extensions. I have the following files in an mccsl directory: mccsl.setup: (compile -s mccsl.scm) (install-extension 'mccsl mccsl.so) mccsl.scm: (module mccsl ( define-simple-syntax) (import scheme) ... ;; lots of definitions ) I have managed to

Re: [Chicken-users] Can't install srfi 47

2012-03-06 Thread Mark Carter
Christian Kellermann ck...@pestilenz.org * Mark Carter mcar...@markcarter.me.uk [120306 17:07]: Warning: extension `srfi-47' has no .meta file - assuming it has no Why are you needing this srfi? I want to create a matrix, and populate it. I have a list of triplets consisting of a row

Re: [Chicken-users] Creating my own extensions

2012-03-06 Thread Mario Domenech Goulart
Hi Mark, On Tue, 6 Mar 2012 16:57:11 + Mark Carter mcar...@markcarter.me.uk wrote: I'm a bit confused about how to create extensions. I have the following files in an mccsl directory: mccsl.setup: (compile -s mccsl.scm) (install-extension 'mccsl mccsl.so) mccsl.scm: (module

Re: [Chicken-users] Creating my own extensions

2012-03-06 Thread Alaric Snell-Pym
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2012 05:25 PM, Mario Domenech Goulart wrote: For starters, there is no exe named chicken-setup in Debian, although there is a chicken-install. The following wiki page suggests that there should be:

Re: [Chicken-users] Making stack-allocated Chicken-managed objects from C

2012-03-06 Thread John Cowan
Kristian Lein-Mathisen scripsit: My C-snipped in foreign-primitive that's doing the stack-allocation is heavily inspired by http://wiki.call-cc.org/allocating-c-structures-under-control-of-the-chicken-gc. However, I've been getting feedback about this approach about it not being completely

Re: [Chicken-users] Creating my own extensions

2012-03-06 Thread John Cowan
Alaric Snell-Pym scripsit: Is it time we either: 1) Removed /3/ from the wiki? 2) Kept it online for archival purposes, but put it somewhere even more hidden-away and obviously not current? 3) Slapped a big warning banner on every /3/ page? I favor 3. -- If you understand,

Re: [Chicken-users] Can't install srfi 47

2012-03-06 Thread John Cowan
Mark Carter scripsit: I want to create a matrix, and populate it. I have a list of triplets consisting of a row number, a column number , and a value. I populate the given row/column cell with the value. Having processed the list of triplets, I print the table as a list of lists. Any cells

Re: [Chicken-users] Making stack-allocated Chicken-managed objects from C

2012-03-06 Thread Jim Ursetto
On Mar 6, 2012, at 10:31 AM, Kristian Lein-Mathisen wrote: (define %make-point (foreign-primitive void (((c-pointer (struct point)) dest) (float x) (float y)) #END dest-x = x; dest-y = y; C_return(); END )) (define (make-point x y)

Re: [Chicken-users] Can't install srfi 47

2012-03-06 Thread Mark Carter
John Cowan co...@mercury.ccil.org SRFI-63 is definitely your friend. Thanks. I've converted my code to use that SRFI. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Creating my own extensions

2012-03-06 Thread Mark Carter
Mario Domenech Goulart mario.goul...@gmail.com Maybe this document can be useful: http://wiki.call-cc.org/eggs%20tutorial OK, after many chicken sacrifices (strangely appropriate somehow), I was able to build my extension and load it. Just one comment: I think there is a doc fix needed at

Re: [Chicken-users] Creating my own extensions

2012-03-06 Thread Christian Kellermann
Hi Mark, * Mark Carter mcar...@markcarter.me.uk [120306 19:59]: Mario Domenech Goulart mario.goul...@gmail.com Maybe this document can be useful: http://wiki.call-cc.org/eggs%20tutorial OK, after many chicken sacrifices (strangely appropriate somehow), I was able to build my extension