destroying ast, symbol table copied but not tested thoroughly, codegen stubbed out