[sage-devel] Re: A Mathematica parser for Sage.

2010-09-09 Thread rjf
> > However, I've had no success running RJF's code. I would have thought the ANSI > Common Lisp would have covered how commands are loaded, but I am told that is > not so. If Richard could suggest how his code might be modified to run with > ECL, > then I'd like to give it a quick try and post m

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-09 Thread Dr. David Kirkby
On 09/ 9/10 03:32 AM, Tim Daly wrote: Some of the questions you have about "why lisp" are answered in: http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Rich-Hickey-and-Brian-Beckman-Inside-Clojure/ which is about Clojure, a more recent lisp although the ideas are essentially the same i

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-08 Thread Tim Daly
Some of the questions you have about "why lisp" are answered in: http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Rich-Hickey-and-Brian-Beckman-Inside-Clojure/ which is about Clojure, a more recent lisp although the ideas are essentially the same in Common Lisp. Tim Daly David Kirkby w

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-06 Thread tkosan
On Sep 6, 3:49 am, "Dr. David Kirkby" wrote: > 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

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-06 Thread Mitesh Patel
On 09/05/2010 05:23 AM, David Kirkby wrote: > On 5 September 2010 10:14, Mitesh Patel wrote: >> On 09/05/2010 03:52 AM, David Kirkby wrote: >>> I'm quite happy to be that someone who learns Lisp - I'm serious >>> thinking of buying a book on it. Unfortunately, they tend to be quite >>> expensive,

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-06 Thread tkosan
On Sep 5, 5:40 pm, David Kirkby wrote: >What seems to be a common theme is using Python, but it's not clear to >me this is optimal. It might be simpler to pass the unmodified input >from Sage to Lisp and do the rest there. > >RJF thinks Lisp is the best language >William thinks Python is God > >I

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-06 Thread Dr. David Kirkby
On 09/ 2/10 11:41 PM, rjf wrote: On Sep 2, 2:23 pm, "Dr. David Kirkby" 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

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-06 Thread Dr. David Kirkby
On 09/ 6/10 07:37 AM, Dr. David Kirkby wrote: Doing it in C was quite attractive to me personally until you pointed out that lex/yacc would solve the problem. Oops - you said lex/yacc would not solve the problem. Dave -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-05 Thread Dr. David Kirkby
On 09/ 6/10 01:40 AM, rjf wrote: On Sep 5, 2:40 pm, David Kirkby wrote: It is however very clear there are far more people know Python than Lisp, so use of Python is more attractive to more developers. Dave More people know C than Python. More people use Windows than Linux. More people

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-05 Thread rjf
On Sep 5, 2:40 pm, David Kirkby wrote: > On 5 September 2010 22:13, William Stein wrote: > > > On Sunday, September 5, 2010, David Kirkby wrote: > >> RJF thinks Lisp is the best language > >> William thinks Python is God > > > No I don't. > > > I chose Python for Sage because in 2004 it was th

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-05 Thread David Kirkby
On 5 September 2010 10:14, Mitesh Patel wrote: > Hi David, > > On 09/05/2010 03:52 AM, David Kirkby wrote: >> I'm quite happy to be that someone who learns Lisp - I'm serious >> thinking of buying a book on it. Unfortunately, they tend to be quite >> expensive, as do books on writing compilers. >

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-05 Thread Mitesh Patel
Hi David, On 09/05/2010 03:52 AM, David Kirkby wrote: > I'm quite happy to be that someone who learns Lisp - I'm serious > thinking of buying a book on it. Unfortunately, they tend to be quite > expensive, as do books on writing compilers. Some time ago, I found "Practical Common Lisp" by P. Seib

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-05 Thread David Kirkby
On 2 September 2010 23:41, rjf wrote: >> 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/ Adding a README file would hel

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-02 Thread rjf
On Sep 2, 2:23 pm, "Dr. David Kirkby" 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

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-02 Thread Dr. David Kirkby
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 certai

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread rjf
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. The intent in that project is mainly to take mma syntax for expressions and map it into maxima, and not take the big step of having a more-or-less full ma

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread David Kirkby
On 2 September 2010 04:01, Felix Lawrence wrote: > I think there's some confusion here.  kcrisman seems to be talking > about allowing the Mathematica interface to parse mathematica output, > importing it to Sage.  Dave seems to be proposing writing something > that lets Sage run mathematica code

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread Felix Lawrence
> > > whuss at some point added something like this for both Mma and Maple, > > > though very basic, as part of another ticket (symbolic sums?).  I > > > can't remember where it is and am unfortunately having some internet > > > issues :( but anyway I believe this code was merged into Sage at some

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread kcrisman
On Sep 1, 1:30 pm, David Kirkby wrote: > On 1 September 2010 17:45, kcrisman wrote: > > > > > On Sep 1, 11:55 am, David Kirkby wrote: > >> Has anyone given thought for making Sage read Mathematica syntax? I've > >> seen a recent video from William stating it is NOT an aim of Sage to > >> be cl

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread David Kirkby
On 1 September 2010 17:45, kcrisman wrote: > > > On Sep 1, 11:55 am, David Kirkby wrote: >> Has anyone given thought for making Sage read Mathematica syntax? I've >> seen a recent video from William stating it is NOT an aim of Sage to >> be clone of any of the 4 M's - in contrast, Octave is a clo

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread kcrisman
On Sep 1, 11:55 am, David Kirkby wrote: > Has anyone given thought for making Sage read Mathematica syntax? I've > seen a recent video from William stating it is NOT an aim of Sage to > be clone of any of the 4 M's - in contrast, Octave is a clone of > MATLAB. > > Whilst parsing Mathematica code