This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Python transformer for Guile?


> Is anyone interested in working on a Python translator for Guile?
> 
> I guess this is easier to do now that we have GOOPS.  If anyone is
> willing to do this, I could provide some support regarding GOOPS.

I'm just starting to learn Python, from the licence I would guess that
we can rip the C code out of it for parsing and bolt that into a guile
module.so package which would generate lists instead of Python objects.
I guess I'm pretty ignorant about GOOPS still so I doubt I'm anywhere
near writing a translator -- I'm just making a small suggestion here.

By the way, Python seems like a pretty rocking little language, I really
like the way it does its objects but sadly it has no equivalent to #f
and instead makes 0 the only false object. For a ``high level'' mathematical
language that is rather irritating, I wonder if the designers just didn't
think of it or whether they had a good reason. It's going to be hard for
them to fix it now.

> Guile doesn't currently have a framework for language transformation.
> Hopefully, we'll begin working on this after other high priorities,
> such as the module system.  But it's probably still a good idea to
> start looking into supporting Python already now.

Module system is everything, Python has one, it supports both shared object
modules and interpreted script modules.

	- Tel

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]