Difference: CS255Spring08Discussions (35 vs. 36)

Revision 362008-02-25 - XiaomingGu

Line: 1 to 1
 
META TOPICPARENT name="CS255Spring08"

CS255/455 Spring 2008 Questions and Answers

Line: 7 to 7
 
Q: Is there any way to convert a string to tree? e.g. I want to convert an expression "1-2" to a tree.
Added:
>
>
A: I don't know any magic function for this. But You may build the tree step by step.
 
Q: Is there a way to get a string representation of a tree, particularly a tree that represents a single variable? get_name() does not work for variables like D.####
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback