I suggest that if you want to understand maxima, you start by using maxima, 
not sage.

If you use (say) wxmaxima, you can type in an expression,
say 
 z:  x+y;

 and then if you want to see what the value of z is, in lisp, you can type

:lisp  $z

note that all variables begin with a $ by convention in maxima's underlying 
lisp.

If you want to learn more about maxima, you can read its documentation.

The differences between Maxima in ECL and Maxima in some other 
implementation
of lisp should be negligible.
RJF


On Monday, January 19, 2015 at 7:09:21 AM UTC-8, Snark wrote:
>
> Hi, 
>
> I wanted to play with maxima-in-ecl to understand how it works, but 
> failed: from reading sage's sources I thought I was supposed to use a 
> MEVAL function, but it failed. Here is what I did: 
>
> jpuydt@cauchy:~/sage-6.4.1$ ./sage -ecl 
> ECL (Embeddable Common-Lisp) 13.5.1 (git:UNKNOWN) 
> Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya 
> Copyright (C) 1993 Giuseppe Attardi 
> Copyright (C) 2000 Juan J. Garcia-Ripoll 
> ECL is free software, and you are welcome to redistribute it 
> under certain conditions; see file 'Copyright' for details. 
> Type :h for Help. 
> Top level. 
>  > (require 'maxima) 
>
> ;;; Loading #P"/home/jpuydt/sage-6.4.1/local/lib/ecl/maxima.fas" 
> ;;; Loading #P"/home/jpuydt/sage-6.4.1/local/lib/ecl/sb-bsd-sockets.fas" 
> ;;; Loading #P"/home/jpuydt/sage-6.4.1/local/lib/ecl/sockets.fas" 
> ("SB-BSD-SOCKETS" "SOCKETS" "MAXIMA") 
>  > (meval "2+2") 
>
> Condition of type: UNDEFINED-FUNCTION 
> The function MEVAL is undefined. 
>
> Available restarts: 
>
> 1. (RESTART-TOPLEVEL) Go back to Top-Level REPL. 
>
> Broken at SI:BYTECODES. [Evaluation of: (MEVAL "2+2")] 
>
>
> What did I do wrong ? 
>
> Snark on #sagemath 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to