From: Jeronimo P. <j_...@al...> - 2016-09-02 19:23:46
|
On Fri, Sep 02, 2016 at 09:50:39AM -0700, Richard Fateman wrote: > Scheme !! Yes... > It is rather likely that any particular Scheme program can be translated > into Common Lisp > without too much trouble. If you rely on piles of Scheme programs in > libraries and such, > maybe this is not a solution. But.. there is a Scheme interpreter > written in Common Lisp > in Norvig's "Paradigms of AI Programming". > > If your program P were in CL, then you could load and run it inside > Maxima by > having an initialization command that was equivalent to (load("P.lisp"), > ?P() ) Well, I'm using implementation-specific libraries, so translating would be difficult. But I've found that I can call Maxima directly with maxima --very-quiet < whatever-file and things will work if I tell Maxima to answer in Lisp form (not in pre-formatted output). Thank you for your help! J. |