A tree library with hashconsing and maximal sharing capabilities.
Symbol * unique(const char *str)
Returns a new unique symbol of name strxxx.
Class Node = (type x (int + double + Sym + void*))
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
const Node & node() const
return the content of the tree
property(const char *keyname)
property(const char *keyname)
void set(Tree t, const P &data)
void setProperty(Tree key, Tree value)
property(const char *keyname)
void set(Tree t, Tree data)
Tree getProperty(Tree key)
void set(Tree t, double x)
void clearProperty(Tree key)
void * getPointer() const
property(const char *keyname)