[sage-devel] Re: maxima_calculus.load("blah.mac") throws, load("blah.mac'") in sage --maxima works

2017-01-13 Thread Nils Bruin
On Friday, January 13, 2017 at 11:01:15 AM UTC-8, Dima Pasechnik wrote: > > There is also a problem parsing ''' (thanks, google-groups, for editing it > for us :-)) as ' " (or " ', depending on the context). > At least it did hit me... > cut/paste works fine for me, so I think the only confusing

[sage-devel] Re: maxima_calculus.load("blah.mac") throws, load("blah.mac'") in sage --maxima works

2017-01-13 Thread Dima Pasechnik
There is also a problem parsing ''' (thanks, google-groups, for editing it for us :-)) as ' " (or " ', depending on the context). At least it did hit me... By the way, is there a way to assign bindings like maxima_calculus.sin() to Maxima functions from just loaded Maxima code on the fly,

[sage-devel] Re: maxima_calculus.load("blah.mac") throws, load("blah.mac'") in sage --maxima works

2017-01-13 Thread Nils Bruin
On Thursday, January 12, 2017 at 7:35:03 PM UTC-8, Robert Dodier wrote: > > On 2017-01-12, Dima Pasechnik wrote: > > > maxima_calculus.load("blah.mac") throws a TypeError: > > ECL says: THROW: The catch MACSYMA-QUIT is undefined. > > I think the problem here is that

[sage-devel] Re: maxima_calculus.load("blah.mac") throws, load("blah.mac'") in sage --maxima works

2017-01-12 Thread Robert Dodier
On 2017-01-12, Dima Pasechnik wrote: > maxima_calculus.load("blah.mac") throws a TypeError: > ECL says: THROW: The catch MACSYMA-QUIT is undefined. Well, there is more than one way to process an input file in Maxima, and in one of those ways, the function reading the file

[sage-devel] Re: maxima_calculus.load("blah.mac") throws, load("blah.mac'") in sage --maxima works

2017-01-12 Thread Nils Bruin
This works: sage: maxima_calculus.load('to_poly_solve') \"/usr/local/sage/sage-git/local/share/maxima/5.35.1/share/to_poly_solve/to_poly_solve.mac\" whereas this does not: sage: maxima_calculus.load('to_poly_solve.mac') TypeError: ECL says: In function PATHNAME, the value of the only argument