#7377: Symbolic Ring to Maxima via EclObject
-----------------------------------------------------------------------+----
Reporter: nbruin |
Owner: nbruin
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-feature
Component: symbolics |
Keywords:
Author: Nils Bruin, Jean-Pierre Flori |
Upstream: N/A
Reviewer: Jean-Pierre Flori, François Bissey, Karl-Dieter Crisman |
Merged:
Work_issues: |
-----------------------------------------------------------------------+----
Comment(by kcrisman):
> * effort on error messages: Exceptions get used as a program flow
control tool (e.g., in the coercion system) so any extra effort on
constructing an error message has the potential of slowing down the
system. So if you want extra info in the error message, put it where the
string is created. We're controlling both sides of the plumbing anyway.
See the better-ask-error patch. You could change it to something like
{{{
(princ " You maybe able to answer this by using assume(...)")) ;;put
helpful advice here
}}}
Yes, this would be ideal of course, it's just not something I know enough
Lisp to do properly. Is there a way to format the returned message in a
similar way to how it currently happens (so that your ellipses above are
filled in)? It's currently something like
{{{
j = v.find('Is ')
v = v[j:]
k = v.find(' ',4)
msg = "Computation failed since Maxima requested
additional constraints (try the command 'assume(" + v[4:k] +">0)' before
integral or limit evaluation, for example):\n" + v + self._ask[i-1]
self._sendline(";")
}}}
So if one could do the same extracting of the Of course, this is at the
end of a long line of other things it does with respect to the `self._ask`
business, which might be annoying. Still, anything which does not
explicitly give a Sage command which has a chance to work would be a
downgrade.
Otherwise amazing work, by the way! So cool to see this nearly done.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7377#comment:98>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.