Re: [Chicken-users] Msys install and \

2006-12-14 Thread Matthew David Parker
to a file, so csi is pretty unusable, so I have to use it in the windows command prompt. Matt On Mon, 11 Dec 2006, Brandon J. Van Every wrote: Matthew David Parker wrote: Well, I actually just wrote that wrong, it's installed to /usr/local/bin The reason why I don't want it in C:\program

Re: [Chicken-users] Msys install and \

2006-12-11 Thread Matthew David Parker
for making the \ when it should be /. Shouldn't there be some way to change this in the configure script? Matt On Sat, 9 Dec 2006, Brandon J. Van Every wrote: Matthew David Parker wrote: I'm trying to install chicken-2.5 on windows in MSYS. I tried using cmakeSetup to make MSYS makefiles

[Chicken-users] Msys install and \

2006-12-09 Thread Matthew David Parker
I'm trying to install chicken-2.5 on windows in MSYS. I tried using cmakeSetup to make MSYS makefiles, and then I compiled them from within MSYS by typing make and make install. I had it install to /bin within msys. For some reason, the binaries don't seem to read any command-line arguments.

[Chicken-users] binary logic functions

2006-08-18 Thread Matthew David Parker
Sorry to bother you all with a dumb scheme question, but I can't seem to find it anywhere on the net... How do you do binary logic in chicken? like, what I would normally type in chez scheme is: (logand #b1001 #b0111) 1 Thank you, Matt ___

[Chicken-users] simple threading

2006-06-16 Thread Matthew David Parker
I have a computationaly heavy procedure which creates a list of 20 pointers to generated images. My main program cycles through these images in the list images. It takes a long time to run my procedure make-images, so while my program is animating the images in images, I would like to run

Re: [Chicken-users] simple threading

2006-06-16 Thread Matthew David Parker
Yeah, I could pass it through files or TCP or something, but that seems a bit excessive. On Fri, 16 Jun 2006, Graham Fawcett wrote: On 6/16/06, Matthew David Parker [EMAIL PROTECTED] wrote: I think SRFI-18 might not be useful to me, because the computationally intensive part is calling

Re: [Chicken-users] error loading extensions

2006-06-09 Thread Matthew David Parker
Setting the LD_LIBRARY_PATH environment variable to include the path for libchicken.so may help. Thanks Kon, that did it. Matt Matt ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] error loading extensions

2006-06-08 Thread Matthew David Parker
Hello, I'm just trying to load srfi-18 and posix but it doesn't work from the interpreter. #;4 (use srfi-18) Error: (load-library) unable to load library srfi-18 libchicken.so: cannot open shared object file: No such file or directory Call history: eval (load-library

Re: [Chicken-users] eval environment

2006-05-31 Thread Matthew David Parker
Thanks Alejandro, I got it working with your info you gave me. I had to have the user give me the function quoted (which is how they were going to do it anyways) and then I just made a new quoted function that looked like this: `(lambda args (let ((self (lambda (cmd) (object-ops ,id

[Chicken-users] eval environment

2006-05-30 Thread Matthew David Parker
Hi I have what is probably just a general scheme question which hopefully can quickly be answered. Here's a sample of what I'm trying to do: (define jim (lambda (fun) (letrec ((self (lambda (a) (+ 1 a (fun 5 (jim (lambda (b) b)) 5 (jim (lambda (b) (self b)))

Re: [Chicken-users] is case-lambda expensive?

2006-05-24 Thread Matthew David Parker
Ex: (w/ csi) #;1 (define (msdl.pixel x y rgb alpha #!optional (img 0)) 'foo) #;2 (procedure-information msdl.pixel) (msdl.pixel x y rgb alpha #!optional (img 0)) #;3 (msdl.pixel 3) Error: too few arguments - received 1 but expected 4: #procedure (msdl.pixel x y rgb alpha #!optional (img

Re: [Chicken-users] is case-lambda expensive?

2006-05-24 Thread Matthew David Parker
Alright I'll just use case-lambda for portability reasons. I'm sure the delay from using case-lambda is minimal compared to the time it takes to actually write a pixel to the screen or draw a rectangle. Matt On Wed, 24 May 2006, Kon Lovett wrote: On May 24, 2006, at 10:33 AM, Matthew David

[Chicken-users] How to compile without chicken-config

2006-05-11 Thread Matthew David Parker
I just upgraded to 2.3, and I tried to compile my project, which is just a dynamic chicken library that has foreign access to a dynamic C library. my C library is called libxpilot_ai.so and my scheme file is xpai.ss Normally I type: $ chicken -dynamic xpai.ss compiling `xpai.ss' ... generating

Re: [Chicken-users] Re: Advantages of CHICKEN over Gambit-C

2006-03-28 Thread Matthew David Parker
Concerning readline, I like to call chicken using rlwrap. This little tool gives you readline's capabilities without forcing a license on you. Oh that's a pretty nice utility there, I just tried it. It still uses the GNU readline library, but at least it's a completely separate program

[Chicken-users] Advantages of CHICKEN over Gambit-C

2006-03-27 Thread Matthew David Parker
Hello, I am wondering if someone could briefly list some of the advantages of CHICKEN over Gambit. So far I see that the CHICKEN compiler is much easier to work with, and I think performance might be more consistant, and CHICKEN has a bunch of eggs. All of the optional scheme functions in

Re: [Chicken-users] Advantages of CHICKEN over Gambit-C

2006-03-27 Thread Matthew David Parker
. Van Every wrote: Matthew David Parker wrote: Hello, I am wondering if someone could briefly list some of the advantages of CHICKEN over Gambit. It seems that you did. :-) Are you needing more convincing or something? Cheers, Brandon Van Every

Re: [Chicken-users] Advantages of CHICKEN over Gambit-C

2006-03-27 Thread Matthew David Parker
an intuitive way. Ah you are from indiana.edu, I hear they are big on scheme there. Oh yes, it's quite a nice place if you like scheme. they all use Chez Scheme, which is really great but costs thousands of dollars for the compiler. On 3/27/06, Matthew David Parker [EMAIL PROTECTED] wrote

Re: [Chicken-users] 3D games in Chicken

2006-02-11 Thread Matthew David Parker
I don't know if it's too early to start suggesting a game to make, but I have an idea for a pretty simple (artless) game that would actually be quite useful to me and a lot of people (and fun). Right now I'm working for my dad who is a computer science professor and I changed Xpilot

[Chicken-users] Memory Leaks with foreign libraries

2006-02-02 Thread Matthew David Parker
Hello, I have a bad memory leak for my game I've incorperated with Chicken. My game is just an X windows network game that I compiled into a library and I start the game in a chicken thread using: (thread-start! (make-thread game_launch)) Then in my game loop, which is all in the compiled game

Re: [Chicken-users] win32 chicken

2005-12-15 Thread Matthew David Parker
, which is 4 times the size of my screen (320x240), and they have better hardware keyboards. Matt On Thu, 15 Dec 2005, Graham Fawcett wrote: On 12/12/05, Matthew David Parker [EMAIL PROTECTED] wrote: (On an interesting side note, I got chicken to compile for ARM on my little sharp zaurus PDA

[Chicken-users] win32 chicken

2005-12-12 Thread Matthew David Parker
Hello I've been trying several times over to compile chicken 2.207 for win32. I've tried using MSYS and mingw using the instructions in this previous post: http://lists.gnu.org/archive/html/chicken-users/2005-09/msg00154.html That method got pretty far but it got to compiling everything into

Re: [Chicken-users] Repetitive callback into scheme from C thread hangs

2005-11-23 Thread Matthew David Parker
My program was using an SDL thread, actually, to run. That's probably the problem. I got it running using native threads, using the srfi-18 module. But, after trying it out I found that I couldn't run anything else at the same time, so it was sort of pointless. Consider this: (define jim

Re: [Chicken-users] Dynamic loading foreign C library problem

2005-11-22 Thread Matthew David Parker
, is there some thing you can do in the csi chicken interpreter to make it so you can press the up arrow and cycle through the history of your commands, like in a bash shell? cheers, felix On 11/22/05, Matthew David Parker [EMAIL PROTECTED] wrote: Hi, I have a game that is compiled as a shared