1.1.2 `mathematica.tree_to_string'
----------------------------------

mathematica.tree_to_string(T)
     ::  translates Mathematica tree data  T into a string that can be
     understandable by `asir' as far as possible.

RETURN
     String

T
     List

   * t is a Mathematica tree data which is generated by `ox_math'.

   * This function  translates Mathematica tree data  T into a string
     that may be understandable by `asir'.

   *    This function translates T into a prefix or infix expression
     that may be understantable by `asir'.     The first element of the
     list T   is a key word string of the Mathematica object.    If
     this function recognizes the key word, it translates `t' into
     the form that can be understandable by `asir'.    If it cannot
     recognizes the key word, it translates `t' into   a function call
     with the function name   `m_(the key word)'.

     [267] mathematica.start();
     0
     [268] ox_execute_string(0,"Expand[(x-1)^2]");
     0
     [269] A=ox_pop_cmo(0);
     [Plus,1,[Times,-2,x],[Power,x,2]]
     [270] mathematica.tree_to_string(A);
     (1)+((-2)*(x))+((x)^(2))
     [271] eval_str(@);
     x^2-2*x+1

     [259] mathematica.tree_to_string(["List",1,2]);
     [1 , 2]
     [260] mathematica.tree_to_string(["Plus",2,3]);
     (2)+(3)
     [261] mathematica.tree_to_string(["Complex",2.3,4.55]);
     mathematica.complex(2.3 , 4.55)
     [362] mathematica.tree_to_string(["Plus",["Complex",1.2,3.5],1/2]);
     (mathematica.complex(1.2 , 3.5))+(1/2)
     [380] eval_str(@);
     (1.7+3.5*@i)

Reference
     `ox_pop_cmo', `eval_str', `mathematica.rtomstr'

