add a tree compiler from string code