generates ascii definition of a Scilab function
txt=tree2code(tree,prettyprint)
:tree a macro tree (coming from macr2tree) : :prettyprint optional boolean value
:%T generated code is indented and beautified : :%F generated code is not beautified (default) :
:
Given a loaded Scilab function “tree” (returned by macr2tree), tree2code allows to re-generate the code.
tree=`macr2tree`_(`cosh`_);
txt=tree2code(tree,%T);
`write`_(%io(2),txt,'(a)');