This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
guile-xlib version 0.1
- To: guile at sourceware dot cygnus dot com
- Subject: guile-xlib version 0.1
- From: Neil Jerram <neil at ossau dot uklinux dot net>
- Date: Sun, 9 Apr 2000 19:59:15 +0100
- CC: gdt at fnord dot ir dot bbn dot com, satchell at dera dot gov dot uk, clavoie at enter-net dot com
I've started writing a set of Xlib bindings for Guile. There's a
project entry on the new projects page at
http://www.glug.org/projects/index.html, or you can go straight to my
Guile page at http://www.ossau.uklinux.net/index.htm.
Why have I started from scratch rather than from the bindings in xscm?
(1) Because the Xlib bindings in xscm are a rather limited set chosen
to permit a basic implementation of higher-level Xaw and Xt
function.
(2) Because I actually find the Guile C interface very pleasant to
write code for (kudos to all those who have been and are
continually improving it!), and significantly nicer than the SCM C
interface.
(3) Because there are interesting issues to do with garbage collection
and representation of X resources on the Scheme level than I want
to address in my own way.
Why have I not used SWIG? Simply because it's a 5Mb download and I
didn't want to wait.
Why Xlib at all, rather than GDK? A certain minimalism, I guess, and
I've always enjoyed playing with the X event loop in C - it's way
cooler in Scheme! Also I have an Xlib-based 2D graphing program that
I want to port to Guile. (But don't hold your breath just yet!)
Comments, contributions and bug-fixes are welcome.
Neil