Re: [Chicken-users] chicken scheme on handhelds.

2006-11-08 Thread Matthew Welland
I have an openembedded .bb file and I can make a chicken .ipk package just fine. What I haven't been able to do is get eggs to build in the same environment. However using the scratchbox cross compiling environment I was able to compile chicken and eggs and I built the ezxdisp 3d clock example

[Chicken-users] Extensions for svnwiki

2006-11-08 Thread Alejandro Forero Cuervo
Hey, Felix. I've been thinking about svnwiki extensions and I've figured out that the best way to handle them is probably through chicken-setup, as regular extensions. While most are rather simple, some could eventually become sophisticated programs on their own. However, they are probably only

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
the thing that got it to work (the others are mostly incidental except for initialize) was changing the require-extension format used in the file. basically, i was shotgunning it, because it would kill the interpreter immediately upon trying to load it, and even valgrind with all the fruit wasnt

Re: Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread john
I will try and put a skelton of the wiki document up this weekend and be good if you can add what ever your setup is. I crossed compiled Chicken but build eggs on board for simplicity for example. I have cross compiled eggs with no problem also. Probably the easiest method is to use scratchbox and

Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread John Cowan
Shawn Rutledge scripsit: > Ideally the Scheme compiler would run fast on a handheld, and just in > case it's not fast enough, it would also be possible to cross-compile > Scheme to an ARM binary, on a PC. So far gcc is a tad slow on an ARM > (but not too terrible - I do actually use it; maybe it'

Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread Peter Busser
Hi! > If somebody ever finishes the ARM backend for tcc (a very fast C > compiler) we could use that on the handheld itself. TinyCC is not maintained anymore I think. The last release was a long time ago. Groetjes, Peter. ___ Chicken-users mailing li

Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread Shawn Rutledge
Good idea about the wiki. The trouble is most handhelds don't have a compiler installed (they tend to be short on flash). So I run chicken in a chroot environment on a CF card in the Zaurus. (The chroot environment is Debian-arm.) Ideally the Scheme compiler would run fast on a handheld, and j

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Alejandro Forero Cuervo
> #;4> (sqlite3:for-each-row (constantly #f) db "DELETE FROM links") Oh, I just out what my problem was, I wasn't putting a “;” after my sentences, I thought it wasn't necessary. Adding it makes the error go away. Thank you for your assistance. :-) Alejo. http://azul.freaks-unidos.net/ __

[Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Alejandro Forero Cuervo
> the error you posted is apparently thrown by the SQLite3 SQL parser > due to the fact that DELECT is not a valid SQL command. You're right, Thomas. Boy do I feel stupid now! :-( Of course, that's invalid SQL right there. I guess I'm going to have to blame it on lack of sleep. Anyway, the typ

[Chicken-users] FFI w/ Windows

2006-11-08 Thread Kon Lovett
Hi, Is anyone using the libffi, Chicken, & Windows combination. It would be nice to know what is the proper incantation. I think having "lazy- ffi" available for Windows is almost necessary. Best Wishes, Kon ___ Chicken-users mailing list Chick

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Thomas Chust
On Wed, 8 Nov 2006, elf wrote: > heres the files with the modifications i made to get it to work right. i > also removed the need to install the scm file cause there are no syntax > macros anymore, and got rid of the initialize fucntion which always yelped > because it was overriding things, and

Re: [Chicken-users] Efficient homogeneous vector iteration

2006-11-08 Thread Kon Lovett
On Nov 8, 2006, at 12:28 AM, felix winkelmann wrote: On 11/7/06, Carlos Pita <[EMAIL PROTECTED]> wrote: Hi all, suppose I want to "broadcast" some arithmetic operation, say (+ 1), to every cell in a vector. Suppose that the vector is an homogeneous vector of doubles and that performance s

Re: [Chicken-users] Chicken wiki vandalized yet again

2006-11-08 Thread Alejandro Forero Cuervo
> i dont know if this has been suggested yet, or if its already > implemented, cause i havent set up a wiki account myself... but do > you do mailback validation for creating accounts? Currently we create accounts manually. And they can only be used through Subversion's svn client, unfortunately

Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread john
Good idea. I will do that. Cheers. On 08 Nov 2006 12:17:18 -0200, Mario Domenech Goulart <[EMAIL PROTECTED]> wrote: Hello John, On Wed, 8 Nov 2006 13:53:46 + john <[EMAIL PROTECTED]> wrote: > I know there are one or two people out there playing around with > Chicken on handheld devices li

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Thomas Christian Chust
elf wrote: > [...] > some of the extension loading stuff is very weird in it as well.. if i take > out > some of the required extensions, that seems to fix some of the bugs > [...] If you updated CHICKEN ever since you installed any egg and eggs stop working correctly, the problem is fixed in 90

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
sqlite3 3.3.8 gcc 3.4.5 glibc 2.3.6 chicken 2.41 (havent had five mins to look at the changes and upgrade) some of the extension loading stuff is very weird in it as well.. if i take out some of the required extensions, that seems to fix some of the bugs (because apparently it cant find them and

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
oops, forgot configure parameters. ive tried it with the following flags and most of their permutations, and the only one the egg doesnt crash on immediately is --enable-tempstore=yes (thats both before and after changing the extensions handling, which imho there should be some kind of compile-t

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Thomas Christian Chust
elf wrote: > if sqlite3 itself is compiled in threadsafe mode, the egg will cause > an immediate crash. [...] Oops. On which system does it do that, which versions of SQLite3, CHICKEN and GCC are you using and what were the exact parameters to SQLite3's configure script? My personal installation

Re: [Chicken-users] chicken scheme on handhelds

2006-11-08 Thread Mario Domenech Goulart
Hello John, On Wed, 8 Nov 2006 13:53:46 + john <[EMAIL PROTECTED]> wrote: > I know there are one or two people out there playing around with > Chicken on handheld devices like the Sharp Zaurus, Nokia 770 etc. > Anyway, I have created a group on orkut (orkut.com) dedicated to this > topic. If

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
if sqlite3 itself is compiled in threadsafe mode, the egg will cause an immediate crash. -elf On Wed, 8 Nov 2006, Thomas Christian Chust wrote: > Alejandro Forero Cuervo wrote: > > > [...] > > However, I'm failing to get the sqlite3:for-each-row function from > > Chicken's sqlite3 egg to execut

[Chicken-users] Re: sqlite3 issues

2006-11-08 Thread Thomas Christian Chust
Alejandro Forero Cuervo wrote: > [...] > However, I'm failing to get the sqlite3:for-each-row function from > Chicken's sqlite3 egg to execute for some queries: > [...] > #;5> (sqlite3:for-each-row (constantly #f) db "DELECT FROM links;") > Error: (sqlite3:prepare) unrecognized token: "" >

[Chicken-users] chicken scheme on handhelds

2006-11-08 Thread john
I know there are one or two people out there playing around with Chicken on handheld devices like the Sharp Zaurus, Nokia 770 etc. Anyway, I have created a group on orkut (orkut.com) dedicated to this topic. If you have an orkut account and are interested, please come and join. If you need an orku

Re: [Chicken-users] Chicken wiki vandalized yet again

2006-11-08 Thread John Cowan
elf scripsit: > another fairly simple solution (although the one a few posts ago regarding > simple questions was brilliant, imho) would be to have someone manually > verify accounts before theyre given edit privs, or something suchlike. > i would imagine that most of the legitimate posters would

Re: Re: [Chicken-users] chicken.wiki.br

2006-11-08 Thread elf
it would be trivial to write a generator of simple s-exps to evaluate... (define (generate-challenge) (let* ((op (random 4)) (pl (random 2)) (x1 (+ 1 (random 10))) (x2 (+ 1 (random 10))) (c((case op ((0) +) ((1) -) (else *)) x1 x2))

Re: [Chicken-users] Chicken wiki vandalized yet again

2006-11-08 Thread elf
i dont know if this has been suggested yet, or if its already implemented, cause i havent set up a wiki account myself... but do you do mailback validation for creating accounts? another fairly simple solution (although the one a few posts ago regarding simple questions was brilliant, imho) would

Re: [Chicken-users] Efficient homogeneous vector iteration

2006-11-08 Thread felix winkelmann
On 11/7/06, Carlos Pita <[EMAIL PROTECTED]> wrote: Hi all, suppose I want to "broadcast" some arithmetic operation, say (+ 1), to every cell in a vector. Suppose that the vector is an homogeneous vector of doubles and that performance should be C like. That implies: 1) unchecked unboxed fixnum

Re: [Chicken-users] swig, Chicken and double free errors

2006-11-08 Thread Dan
> Did the version of SWIG change between your earlier > attempts (with Chicken.2.41)? And what swig options > you using? Would it be possible to show the code > you are wrapping, so that I can reproduce the > problem? Thanks. The problem showed only intermittently, so it was hard to demonstrate. I