Added AST.Undefined pattern to runAST