#include #include "token.h" #include "node.h" #include "hashtable.h" #include "lexan.h" #include "world.h" void main() { world W; W.setvar("cat", 3); W.setvar("x", 99); node * t = W.parse_expression(); cout << "\n"; t->print1(); cout << "\n"; t->print(); cout << "\n\n"; cout << "value = " << W.evaluate(t) << "\n"; }