moved syntax-tree out, added repl