ASCII art trees

Enter a functional expression such as f(g(string, 4), h('string with sp', 5)) :

Try a really interesting expression, the Y combinator from lambda calculus:

lambda(f, apply(lambda(x, apply(f, apply(x, x))), lambda(x, apply(f, apply(x, x)))))