Skip to content

henrinikku/ast-diff

Repository files navigation

ast-diff

Diff Python files using the Gumtree algorithm.

Usage

Takes two parameters, source and target. Each parameter can be either python code or a path to a python file.

Python

python3 -m astdiff "print('123')" "print()"

Docker

docker run henrinikku/astdiff "print('123')" "print()"