Packedobjects for Guile

Posted: January 2nd, 2009 | Author: | Filed under: packedobjects | Tags: , | No Comments »

I have created a sourceforge project for the new Guile version of packedobjects:

http://packedobjects.sourceforge.net/

This is an early version without documentation. The API has changed from the Chicken version so I will document this soon. Eventually I will push back the improvements to the Chicken version.

So far it builds as a Guile module. I also need to look at how to embed this version into a C application.


Groking Guile’s FFI

Posted: November 9th, 2008 | Author: | Filed under: General, packedobjects | Tags: , , , | No Comments »

I have lately been very busy with work, life and the universe and subsequently have done little hacking. I have recently been examining Guile. Guile has been part of OpenEmbedded for a while so should be easy to get running on numerous embedded devices. Chicken was very recently added to OpenEmbedded, however, lacks support for building eggs in this environment. One thing I really love about Chicken is its very easy to use foreign function interface (FFI). After spending the odd hour over various weekends I have finally begun to grok Guile’s FFI. I plan to build packedobjects for Guile and possibility extend its features.

I really like the idea of extension languages ever since I did some work with Tcl a number of years ago. A great example application was Eggdrop the IRC bot. Lots of kids at the time would program their eggdrop bots using the simple Tcl interface. I think a lot can be said about this approach in terms of learning/teaching programming. I hope to explore this further with my education hat on.