why the contrib/format in lost state?



--- Valery Pipin <pip@iszf.irk.ru> wrote:
> How did you get it?

Here's my full session:

Maxima 5.9.0.1cvs http://maxima.sourceforge.net
Using Lisp Kyoto Common Lisp GCL-2-7.0 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(C1) load("coeflist.lisp");

(D1)                             coeflist.lisp
(C2) load("coeflistp.lisp");

(D2)                            coeflistp.lisp
(C3) load("format.lisp");

(D3)                              format.lisp
(C4) demo("format.demo");


batching #p/home/user/maxima/share/contrib/format/format.demo
 At the _ prompt, type ';' followed by enter to get next demo
                                         2
(C5)             FORMAT((b x + a) (C - x) , %POLY(x), FACTOR)
                   3                2                        2
(D5)            b x  - (2 b C - a) x  + C (b C - 2 a) x + a C

_
                                 2     4
(C6) FORMAT((2 eps (r COS(g) + q)  + 1) , %SERIES(eps, 2), %TRIG(g),
FACTOR)
Error in LISP:LET* [or a callee]: The function POIS-SETUP is undefined.

Fast links are on: do (use-fast-links nil) for debugging
Broken at LISP:LET*.  Type :H for Help.
 1 (Continue) Return to top level.
dbl:MAXIMA>>


> I have 
[snip]

Hmm.  Are you using the format stuff from cvs or did you download the
original tarball?  The original tarball does indeed have the updated
pois2.lisp file, and works in Maxima.  Unfortunately we can't touch it
to add it in the distro :-(.

> In addition to my previous message. Google pointed me that our src
> dir has 
> pois2(3).lisp :-))). I found that they are not workable,  however.

I think Barton mentioned this a long while back - he also concluded our
pois stuff was busted.  He found the one in format and I guess lived
happily ever after ;-).  Unfortunately, we aren't so lucky.

> E.g., I have
> (C12) intopois(cos(u+x*v)^2);
> Illegal arg to POISSIMP:
> v x + u
> 
> So it's necessary to debug them.  I feel we can get pois2.demo
> working after correcting pois2(3).

I think so too.  With Miller's paper detailing what changes he made to
the Macsyma one, I figure if we can get ours working properly and then
make ours act like his stuff expects it to, we're all set. 
Unfortunately, that level of messing around is beyond my time and skill
limits :-(.  Eventually I expect it can be made to work.

CY

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/