Nils Bruin wrote:

> WARNING: ecl is written to provide only one instance of its workspace.
> So whatever code is run will have to play nice with other components.
> In particular, it is not possible to have two maxima instances running
> in the same processes. I don't know how much global state maxima
> relies on. Probably by carefully encoding symbols, this problem can be
> minimized.

Maxima has a lot of unorganized global state -- just a lot of so-
called
special variables. So there isn't any way at present to have multiple
independent instances in the same ECL process.

At present all Maxima symbols are in the package (i.e. namespace)
named MAXIMA. It seems theoretically possible to create a new
package when Maxima is launched and define all symbols in that
new package. Then separate instances would have separate namespaces.

The easiest way to get independent instances is via fork/exec.
I think ECL has those and other POSIX-ish functions.
Dunno if they work on Windows, if they exist.

Thanks for your work on the Maxima/ECL/Sage combo.

Robert Dodier

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to