From: Richard F. <fa...@be...> - 2014-07-16 14:55:57
|
Well, as far as I could tell circa 2009, this programmer took my code and disabled 95% of the capabilities that I put in it. He then put his version on sourceforge and used my name for it, MockMMA. What did he do? He did some data structure translation and attached the parser superficially to the Maxima system back end so that individual commands like _Integrate_ worked to call Maxima's _integrate_. I think he removed any capability of the system to define patterns and new functions using the Mathematica syntax. It is hard to review what he did on a quick trial. since it doesn't load right out of the box, at least for me. So the claim that it works with wxmaxima is hard to evaluate. I suspect that my problems with mma4max and wxmaxima have to do with interference with the naming of input streams or read tables, or some such diddly matter. Considering that it works with the console version, how much more fixing is needed? Has anyone listening actually used hmonroe's code?? RJF On 7/16/2014 4:22 AM, Barton Willis wrote: > > I haven't tried it, but the MockMMa on > http://sourceforge.net/projects/mockmma/indicates > that it runs OK within wxMaxima. > > --Barton > > > ________________________________________ > From: Richard Fateman <fa...@be...> > Sent: Tuesday, July 15, 2014 23:32 > To: <max...@li...> > Subject: [Maxima-discuss] revived mathematica inside maxima > > A few years ago I wrote a modified version of MockMMa to run > inside maxima, and I re-fiddled with it to make sure it runs > in a recent Maxima / running in GCL. I found that it runs OK > in a console version, but hangs in a wxmaxima system. Here's > an indea for wxmaxima... how about if to_lisp() opens up > a new window with a lisp listener, instead of mucking about with > the wxmaxima display? > > Anyway, here's what works. > > > // I started this up in an emacs shell window in windows XP /// > > c:\lisp\mma4max>"C:\Program Files\Maxima-5.23.2\bin\maxima.bat" > "C:\Program Files\Maxima-5.30.2\bin\maxima.bat" > Maxima 5.23.2 http://maxima.sourceforge.net > using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL) > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > The function bug_report() provides bug reporting information. > (%i1) to_lisp() > ; > > Type (to-maxima) to restart, ($quit) to quit Maxima. > > MAXIMA> (sys:chdir "c:/lisp/mma4max") > "c:/lisp/mma4max" > MAXIMA> (load "init.lisp") > T > MAXIMA> (compile-mma) > > ;;;;; A bunch of messages from the compiler. If all goes well, it > ;;;;; terminates this way: > NIL > > then .... > MAXIMA> (load-mma) > > #<"MMA" package> > MMA> (tl) > Mock-Mma (for GCL-Maxima) 3.0 (Some Date) [With pre-loaded data] > Possibly Copyright 1990-2011 U.C.Berkeley > -- Terminal graphics initialized -- > > In[1] := > > > NOW YOU CAN TYPE MockMma commands into this program. > sample inputs are in hey.batch, but they are intended to exercise > only the matching program. Lots of other stuff will work, but > don't be surprised if something from Mathematica DOESN'T work. > > An old paper discussing the initial implementation of the parser > is in http://www.cs.berkeley.edu/~fateman/papers/lmath.pdf > <http://www.cs.berkeley.edu/%7Efateman/papers/lmath.pdf> > > There is a huge amount of description in the source-code comments. > > There is also a file called setup.lisp which can be loaded into > Maxima that does much of the same thing as the separate commands > above. > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss |