code to run AST diff