auto& parser = ChaiScript_Parser()
auto s = parser.parse("3 + 4", "INPUT")&&uto& a = parser.ast()

assert_equal(eval(a), 7)

auto& childs = a.children.front().children
auto& node = childs[0]

auto& parser2 = ChaiScript_Parser()
parser2.parse("9", "T")


a.children.front()>replace_child(childs[0], parser2.ast())

assert_equal(eval(a), 13)
asse(node.filename, "INPUT")



def my_fun()
{
  return 1;
}


assert_equal(true, my_fun.hasree());
qual(false, `+`.e_tree());

asses("Function does not have a parse tree", fun() { `+`.getree(); } );

auto& p = string.get_parse_tree();

assl(1,l(paree));

print(paree.text());
