Skip to content

lilshady/pydiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDiff: a structural comparison tool for Python

PyDiff is the forerunner of ydiff, which I implemented around 2011. Later I developed ydiff based on the same algorithm of PyDiff, while supporting multiple languages. Unfortunately I never got a chance to write a Python parser for ydiff. Thus I put the original code for PyDiff here, just in hope it can be useful to someone.

Usage

Just run pydiff.py from the command line:

./pydiff.py demos/list1.py demos/list2.py

Demo

A demo of PyDiff's output (PyDiff diffing itself over a recent big change) can be found here:

http://www.yinwang.org/resources/pydiff1-pydiff2.html

Contact

Yin Wang ([email protected])

LICENSE

Copyright (C) 2011-2013 Yin Wang

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

a structural comparison tool for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published