compiler, AST gen: add option to print output AST