mockmma for maxima , gcl , linux



Hi,
Can anyone share their experience with mockmma for maxima
on gcl with linux ? I am talking about this distribution:
 http://www.math.utexas.edu/pipermail/maxima/2011/024119.html

I have: Maxima 5.24.0 using Lisp GNU Common Lisp (GCL) GCL 2.6.7

I got it partially working by mostly following the README.
I unpack the source. The repl crashes, but not if I make the following
change to eval.lisp:

	(format t "Mock-Mma ~%" ))
;;		"Mock-Mma  ~a  ~%" (today-string)))


Then enter maxima in an emacs shell
buffer.

(%i1) to_lisp();

MAXIMA> (sys:chdir "/home/me/mma4max");
MAXIMA> (load "init.lisp")
MAXIMA> (compile-mma)
MAXIMA> (load-mma)
 #<"MMA" package>
MMA> (tl)
In[1] :=

Some input works. other input causes errors. Eg,
literal numbers must have a decimal point.

The following seems ok:

 In[6] := m = Function[{pat,expr},MatchQ[expr,pat]]
 In[7] := SetAttributes[g,Orderless]
 In[8] := SetAttributes[h,Flat]
 In[9] := SetAttributes[gh,{Flat,Orderless}]

But m[...] should give true or false. I get

 In[10] := m[f[a | b, b], f[a, b]]
 Out[10] = MATCHQ[F[A, B], F[A | B, B]]

It's probably not hard to figure out what is happening here, but
maybe someone has already done it.

-- John Lapeyre