[Maxima] What are the magic performed by (cl-user::run)?

Raymond Toy toy.raymond at gmail.com
Fri Apr 27 10:44:56 CDT 2012

On Fri, Apr 27, 2012 at 7:42 AM, Rupert Swarbrick <rswarbrick at gmail.com>wrote:

> XeCycle <XeCycle at Gmail.com> writes:
> > ... Seems the (run)
> > did some magic?  Starting maxima and return to lisp is not
> > acceptable for my task, can I do what it did to setup my
> > environment correctly?
> RUN does indeed do some setting-up tasks. You'll find its code in
> src/init-cl.lisp (at line 550 or so). I'd try calling some of the
> functions inside the CATCH form and see which one makes things work.
> To the rest of the list: Should there be an
> init-maxima-and-make-it-work-please function that RUN calls? Then people
> that want to embed maxima into another CL image wouldn't have to guess
> about what's needed. Yes, I know you can load your code into a maxima
> image, but if you don't want a maxima REPL, that doesn't really help
> (since RUN brings one up).

Stick to_lisp() in your .maxima/maxima-init.mac file. :-)

Even if I wanted an embedded maxima, I think having a repl is invaluable.
What would you do with an embedded maxima other than to compute symbolic
(and numeric) stuff with maybe some plots?

I would not enjoy using a regular lisp repl to interact with maxima's
symbolic stuff.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20120427/4ed368a7/attachment.html>

More information about the Maxima mailing list