Return to test-gentexi CVS log | Up to [local] / OpenXM / src / asir-contrib / packages / doc |
File: [local] / OpenXM / src / asir-contrib / packages / doc / Attic / test-gentexi (download)
Revision 1.1, Sun Jan 27 08:18:52 2002 UTC (22 years, 7 months ago) by takayama
Added some usages to names.rr for gentexi. print_input_form will not be called when the argument is not STRUCT or QUOTE for a trouble reported by Ohara (Bug). |
begin: base_replace(A,Rule) It rewrites {A} by using {Rule}. example: base_replace([x^2+a^2,a],[[a,1],[x,y]]); ref: taka_base_replace, hoge end: begin: print_input_form(A|xml) It outputs the object {A}. example: print_input_form(quote(sin(x)+2)); ref: taka_print_input_form end: