skeleton of compiling stuff into the tree at construction time, clauses also get cached already