On 09/ 2/10 11:41 PM, rjf wrote:


On Sep 2, 2:23 pm, "Dr. David Kirkby"<david.kir...@onetel.net>  wrote:
On 09/ 2/10 06:10 AM, rjf wrote:



the mathematica syntax parser that I wrote appears to run inside
Maxima, so
you can, if you wish, feed such text to the mma-in-maxima system.

Sorry to sound green, but I barely know Maxima, and do not know Lisp at all.

I do know Mathematica - though I'm certainly not at expert at it.

There's no README file in the source code I found of yours, so it's far from
obvious to me how I would use it.
um, I don't know where you looked, but

here is one place..
http://www.cs.berkeley.edu/~fateman/mma1.6/

I forget exactly, but I think it is approximately,  get all those
files in that directory. start a lisp in that directory.

  (load "capsonlyparser.lisp")
(in-package :mma)

(p)


then type some mathematica and hit two returns.

It would be really useful if you could put your code in a tar file with a README.txt. I had quite a problem downloading this. For some reason wget -r started to wonder off into other directories, so:

wget -r http://www.cs.berkeley.edu/~fateman/mma1.6/

did not work.

Anyway, I think I have the code OK now, but I did not get very far with that at all.

I used 'ecl' which is built as part of Sage, set up the environment to run run sage, but did not run it. Instead I called ecl directly after sticking your lisp file in the same directory as the list executable. The ecl interpreter seems to work - I could add 1000 to 100 and get 1100, but I got nowhere trying to load your package.

(sage subshell) hawk:bin drkirkby$ ./ecl
ECL (Embeddable Common-Lisp) 10.2.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
> (+ 1000 100)

1100
> (load "capsonlyparser.lisp")

;;; Loading "/export/home/drkirkby/4/sage-4.5.3.alpha2/local/bin/capsonlyparser.lisp"

There exists no package with name "MMA"
Available restarts:

1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (IN-PACKAGE :MMA)]
File: #P"/export/home/drkirkby/4/sage-4.5.3.alpha2/local/bin/capsonlyparser.lisp" (Position #761)
>>

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to