I just discovered

http://common-lisp.net/project/python-on-lisp/

which let's you call Python from lisp:

* (py::py "print \"Hello from python\"")
sys:1: RuntimeWarning: Python C API version mismatch for module pol: This 
Python has API version 1013, module pol has version 1011.
If you can see this, Python is loaded and working
Hello from python
NIL
* (py::py "print \"Hello from python\"")
Hello from python
NIL
* (py::py "print [i**2 for i in [1,2,3]]")
[1, 4, 9]
NIL


Maybe we could use this to call sage easily from FriCAS?  I'm not sure, but
possibly it's very little work to provide a nice sage wrapper.

I like SPAD/Aldor far better than those bits of Python I currently know, but
what concerns the scope of the mathematics, Sage is by far superiour to FriCAS.


Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to