Re: [Chicken-users] A couple of questions

2013-05-11 Thread Brad Pitt

Hi 

Clarify please what kind of grapchis programming, games, gui, simulation ?
And what a platform?

Maybe interesting for you
:
http://lush.sourceforge.net/ 
http://www.pawfal.org/fluxus/


Hi,

I’ve been working with Scheme for quite some time now, with various
implementations, and I wanted to thank you for working on this wonderful
one that is Chicken.

I’m still pretty new to functional programming and I recently discovered
the functional reactive programming style. I was wondering if anyone
here had any experience with it in Scheme. I would like to implement a
DSL on top of OpenGL for FRP graphic programming.  If you have any
documentation or existing implementation please tell me.

I also wanted to know if it was possible to statically link a chicken
program with all its libraries in order to have a standalone executable
not depending on anything.

Thanks again,
Kooda.

-- 
Envoyé depuis ma Game Boy.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A couple of questions

2013-05-11 Thread Kooda
On Sat, May 11, 2013 at 10:24:21PM +0400, Brad Pitt wrote:
 
 Hi 
 
 Clarify please what kind of grapchis programming, games, gui, simulation ?

The main goal is a game engine.


 And what a platform?

Currently it’s only under unix-like OS but it would be nice to
distribute executables this way for windows.


 Maybe interesting for you
 :
 http://lush.sourceforge.net/ 
 http://www.pawfal.org/fluxus/
 

That seems really nice, I will check this out.


-- 
Envoyé depuis ma Game Boy.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A couple of questions

2013-05-11 Thread Brad Pitt

Getting stanalone executable not a big deal, linking with extensions maybe 
litle bit tricky.

http://wiki.call-cc.org/man/4/Deployment 
http://wiki.call-cc.org/man/4/Extensions

On windoz u can try something like boxedapp or filejoiner, this one pack 
all application files into single executable.


On Sat, May 11, 2013 at 10:24:21PM +0400, Brad Pitt wrote:
 
 Hi 
 
 Clarify please what kind of grapchis programming, games, gui, simulation ?

The main goal is a game engine.


 And what a platform?

Currently it’s only under unix-like OS but it would be nice to
distribute executables this way for windows.


 Maybe interesting for you
 :
  http://lush.sourceforge.net/  
  http://www.pawfal.org/fluxus/
 

That seems really nice, I will check this out.


-- 
Envoyé depuis ma Game Boy.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A couple of questions

2013-05-11 Thread Dan Leslie
Bare in mind that both lush and fluxus are FOSS, both GPL, so if you're 
planning on using it in a game engine that you'll be monetizing be 
certain that you're abiding by their licenses. Likely this means 
distributing full source.


If that's not desirable to you, might I suggest the SDL egg (LGPL, so 
you can dynamically link proprietary code), or the Allegro egg (BSD). I 
think there's an SFML egg floating around, but I'm not certain where 
it's at these days. Of course, there's also the doodle egg, and 
simple-graphics; and you can always write inline C with the inline, bind 
and foreign eggs.


If you're building binaries with chicken you can opt to statically link 
everything, and you can ship the extension eggs as dynamic libraries 
alongside your binary, if you so wish.


Some wiki pages of interest:
http://wiki.call-cc.org/man/4/Interface%20to%20external%20functions%20and%20variables
http://wiki.call-cc.org/eggref/4/bind
http://wiki.call-cc.org/eggref/4/inline
http://wiki.call-cc.org/eggref/4/doodle
http://wiki.call-cc.org/eggref/4/simple-graphics
http://wiki.call-cc.org/eggref/4/sdl
http://wiki.call-cc.org/eggref/4/opengl
http://wiki.call-cc.org/eggref/4/allegro/index
http://wiki.call-cc.org/eggref/4/soil
http://wiki.call-cc.org/eggref/4/physicsfs

Disclaimer: I am the author of the soil, allegro and physicsfs eggs. 
Patches are welcome!


-Dan

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A couple of questions

2013-05-11 Thread Kooda
On Sat, May 11, 2013 at 01:43:01PM -0700, Dan Leslie wrote:
 Bare in mind that both lush and fluxus are FOSS, both GPL, so if
 you're planning on using it in a game engine that you'll be
 monetizing be certain that you're abiding by their licenses. Likely
 this means distributing full source.

That’s pretty much the idea. I’m already aware of licenses issues.


 If that's not desirable to you, might I suggest the SDL egg (LGPL, so
 you can dynamically link proprietary code), or the Allegro egg (BSD).
 I think there's an SFML egg floating around, but I'm not certain where
 it's at these days. Of course, there's also the doodle egg, and
 simple-graphics; and you can always write inline C with the inline,
 bind and foreign eggs.

I already played with these and my idea was to write something like
doodle with a FRP style and OpenGL. That’s my main project these days,
the first goal is to learn FRP and contribute to chicken. If I can use
this later in my games that would just be awesome.


 If you're building binaries with chicken you can opt to statically
 link everything, and you can ship the extension eggs as dynamic
 libraries alongside your binary, if you so wish.

Ok, it seems ok for my needs, but I’m not in a hurry about that so I
have the time to think about it.


 Some wiki pages of interest:
 http://wiki.call-cc.org/man/4/Interface%20to%20external%20functions%20and%20variables
 http://wiki.call-cc.org/eggref/4/bind
 http://wiki.call-cc.org/eggref/4/inline
 http://wiki.call-cc.org/eggref/4/doodle
 http://wiki.call-cc.org/eggref/4/simple-graphics
 http://wiki.call-cc.org/eggref/4/sdl
 http://wiki.call-cc.org/eggref/4/opengl
 http://wiki.call-cc.org/eggref/4/allegro/index
 http://wiki.call-cc.org/eggref/4/soil
 http://wiki.call-cc.org/eggref/4/physicsfs
 
 Disclaimer: I am the author of the soil, allegro and physicsfs eggs.
 Patches are welcome!

Thanks, will do!


 
 -Dan

-- 
Envoyé depuis ma Game Boy.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A couple of questions about exceptions

2007-06-06 Thread felix winkelmann

On 6/5/07, john [EMAIL PROTECTED] wrote:

I have a couple of general questions on exceptions.

1. When handling an exception I can print the call chain out but how
do I actually print the error?


Just pass the exception object to print-error-message.



2. When a new thread is started how do I signal an error in a
previously defined exception handler e.g. in the primordial thread.


thread-signal! might possibly work.



2. If (barf1) is uncommented I would like to handle this error outside
the current thread and in this case just use the previously defined
exception handler.



You can of course also do a thread-join! in the thread that creates
the thread throwing the error, which would then re-signal the
exception that caused the child-thread to terminate. But that depends
on your use of the stuff.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users