Re: [Axiom-developer] expression parse tree API?
Jurgis Pralgauskis <[email protected]>
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Message-ID | <[email protected]> |
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 ;)