axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-mail] Re: [Axiom-developer] expression parse tree API?


From: Jurgis Pralgauskis
Subject: [Axiom-mail] Re: [Axiom-developer] expression parse tree API?
Date: Mon, 27 Nov 2006 14:33:19 +0200
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

and maybe Axiom can show the expression in the form of http://en.wikipedia.org/wiki/Polish_notation ? as I understand LISP thinks the prefix-way.. but the ?print result looks too spagetti-like to me..

Thanks again.
The internal form of Maxima expressions is a Lisp s-expression, which
you can see using the ?print function.  For example,
        sin(x)/x-x-1
is represented as
       ((MPLUS SIMP) -1
                                   ((MTIMES SIMP) -1 $X)
                                   ((MTIMES SIMP) ((MEXPT SIMP) $X -1)
                                   ((%SIN SIMP) $X)))


Bill Page wrote:
On November 26, 2006 11:41 AM Jurgis Pralgauskis wrote:

I also asked in SAGE forum, but seems they don't deal with
expression parsing
http://groups.google.com/group/sage-support/browse_thread/thread/96686f9ff4b
a3711
SAGE folks referenced Maxima.. but I want python, and as
I know Axiom is made with python (Maxima probably with C)..

??? Both Axiom and Maxima are written in Lisp.

Regards,
Bill Page.




--
Jurgis Pralgauskis
mob.: +37061677613; skype: dz0rdzas; (ICQ# 147307045 (retai tikrinu))
Don't worry, be happy :) and make things better ;)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]