mockmma in GCL-- was Re: [Maxima] status of gamalg
Subject: mockmma in GCL-- was Re: [Maxima] status of gamalg
From: Richard Fateman
Date: Fri, 14 May 2004 11:27:45 -0700
1. Yes, it should run interpreted in Lisp.
1a. There is some info (c. 1999) on running in AKCL,
a predecessor to GCL, in
http:/www.cs.berkeley/edu/~fateman/mma1.6/davorpatch/mmapatch
2. after loading it with :ld init
you should be in the mockmma package, and
type (tl)
to start up the top level.
to return to lisp, type Exit
<return>
There is an alternative to :ld init, namely :ld init2 which
may work better (basically it is the same except for loading ucons1 instead
of ucons, a utility for "unique consing". At least that is what
I recall).
The handling of upper/lower case is one contributor to trouble
in different CL. Also Allegro has some non-standard extensions
for hash table functions. Also the handling of errors may be
different.
Otherwise the code SHOULD work.
If you just want the read/parse/return, try what you did, but type
something after it. e.g.
(mma::p)
x+y <<I typed this
(mma::Plus x y)
If you just hit <return> 2 times, you'll indeed get
mma:Null
RJF
Camm Maguire wrote:
>Greetings!
>
>Just managed to compile mma 1.6 for ANSI GCL, using init2 and one or
>two small edits. Can it be run interpreted? (mma::p) just retuns
>NULL. How do I get the new toplevel?
>
>
>
>