Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Scheme Programming Language

call python functions from scheme


Hi,

I am almost completely new to scheme, except some configuring for
emacs...
Now, at work I am using a cfd solver, which uses scheme as a
scripting language, which is fine to me, but unfortunately I am more
a python user. Therefore I was wondering, if I am able to call some
python functions using scheme!? It would even be great, if anyone
can point me to some easy examples...

Best Regards!
Fabian

Hi,

sorry, me again ...
does nobody has any idea or is it a pretty stupid question!?

Fabian Braennstroem schrieb am 05/27/2007 06:58 PM:

> Hi,

> I am almost completely new to scheme, except some configuring for
> emacs...
> Now, at work I am using a cfd solver, which uses scheme as a
> scripting language, which is fine to me, but unfortunately I am more
> a python user. Therefore I was wondering, if I am able to call some
> python functions using scheme!? It would even be great, if anyone
> can point me to some easy examples...

 Best Regards!
 Fabian
On Jun 2, 5:04 am, Fabian Braennstroem <f.braennstr@gmx.de> wrote:

Interesting coincidence. Yesterday, a post on programming.reddit.com
about some Common Lisp interface to Python also go me started on how
nice it would be to have a Scheme interface to Python. For me, the
motivator is to be able to call Mercurial's Python code from Scheme.

This project is not high priority for me so it could take a while
before it is ready but by looking at the Common Lisp code it is fairly
easy to create your own interface to Python. Also, my first target
will be Gambit which may not be your preferred Scheme.

Here are the 3 Common Lisp projects I found that interface to Python:
  - http://www.cliki.net/Pyffi
  - http://common-lisp.net/project/python-on-lisp/
  - http://common-lisp.net/project/clpython/

Pyffi looks the nicest one but really I spent like 2mn looking at
each.

Guillaume

Hi Guillaume,

Another thing to get inspiration from:

   <http://plt-spy.sourceforge.net/home.html>

--
Jens Axel Sgaard

Hi to both,

thanks a lot for your links! I'll see, what I can use...

Regards!
Fabian

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc