Anybody wants access to their python code in scheme?
Since I did not find any really easy way to do it (a library already done) I started writing my own. Here is what I came up with after a few tries: http://www.foobrac.com/static/pes.scm
If you don't feel like reading code, here is the gist of it
> (py-eval "2+2")
It's pretty far from a state I would call usefull... but in a few days (weeks if I'm lazy and watch the fifth season of 24 I just bought... don't tell me the end!) it could be able to load user modules and allow pretty decent interoperability between Scheme and Python.
So, anybody wants access to their python code in scheme? If I know of potential users I'll do it faster and better :-)
If you know a way to do what I want without writing the library I'm starting, please tell me. Who knows, maybe I could find something better to do with my time! Yeah, I'd probably just watch TV or add features to my little search engine (http://www.foobrac.com)
Bonne nuit tout le monde,
ps: I'm not trying to build a python interpreter in scheme. I simply want to call my python code within a scheme application.