auto& parser = ChaiScript_Parser()
auto ccess = parser.parse("3 + 4", "I")
auto& a = parser.ast()

assert_equal(eval(a), 7)

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

auto& parser2 = ChaiScript_Parser()
parser .parse(";", "INPUT")


a.children.front().replace_child( fun(){} , parser2.ast())

asal(eval(a), 13)
asse(node.fime, "INPUT")



def un()
{
  return 1;
}


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

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

auto& parsetree = my_fun.getree();

assert_equal(1, eval(parsetree));

print(parsetree.text());
