ast of empty program can be built from parse tree