First,

http://trac.sagemath.org/sage_trac/ticket/6781

now has a reviewable patch attached to it. This ticket deals with
adding ECL as a library to Python.
Since LISP and Python are actually rather closely related in how they
view data, one can map over
a lot of the data in a rather faithful fashion. Python's flexible
interpretation of what it means to call an object means calling
wrapper class objects can be translated into the appropriate
(APPLY FUNC ARGS)
in lisp. That means that binding LISP functions can happen completely
dynamically and that things like this are possible:

sage: from sage.libs.ecl import *
sage: caddr=EclObject("caddr")
sage: caddr([1,2,3,4]).python()
3

Once this ticket is in, it makes sense to review:

http://trac.sagemath.org/sage_trac/ticket/7287

which updates the Maxima package to also build an ECL library version
of Maxima.
with ECL accessible as a library in Python and Maxima accessible as a
library in ECL, we can access Maxima as a library in Sage.

I have some code for that as well, but not quite ready for submission
yet.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to