Changes between Version 1 and Version 2 of Ticket #15902, comment 1


Ignore:
Timestamp:
03/07/14 03:01:27 (8 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15902, comment 1

    v1 v2  
    1818When I wrote this, it was really with the idea that it would be an error of the calculus library if maxima were fed a syntax error. Nearly all the translation between sage and maxima can be done on a deeper level than string back-and-forth parsing. See `sr_to_max` and `max_to_sr` and how they are used in `sr_integral`, `sr_limit` and `sr_sum`. It was originally the idea that the calculus-to-maxima_lib interface would eventually almost do away completely with string passing. As it turned out, this hasn't been such a priority.
    1919
    20 In my opinion, `symbolic_expression_from_maxima_string` should only receive strings that parse in maxima. Those are the ones that give the incomprehensible error message. Actual runtime errors are caught in a meaningful way:
     20In my opinion, `symbolic_expression_from_maxima_string` should only receive strings that parse in maxima. Only the ones that don't give the incomprehensible error messages. Actual runtime errors are caught in a meaningful way:
    2121{{{
    2222sage: sage.calculus.calculus.symbolic_expression_from_maxima_string("1/0")