evaluate Maxima string from lisp command line...



Hey guys.  I'm trying to figure out how to take a string in regular
maxima input format, and feed it to Maxima on the lisp level.  I
haven't been able to sort out how to take diff(x^2,x) and evaluate it
on the lisp command line.  Can someone point out the syntax to me? 
Something like:

(setq expr (mread string))

(macsyma-eval expr)

would be what I'm after.

CY

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com