If you are willing to trust code in share/contribute, you can try load(tocl) Then enter to_cl(a+b*c);
--Barton
________________________________________
From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on behalf of Tamas Papp [tkpapp at gmail.com]
Sent: Friday, July 19, 2013 04:43
To: maxima at math.utexas.edu
Subject: translating formulas to Common Lisp
Hi,
Is there a quick & easy way to translate results of calculations to
Common Lisp (or any Lisp) sexps? Eg a+b*c would become (+ a (* b c)),
etc. I need this because I would like to use analytical results,
calculated with Maxima, in a CL program, and I don't want to transcribe
it manually if that can be avoided.
Best,
Tamas
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima