Pure Crystal implementation of various diffing algorithms. Currently includes:
- Myers
 - Myers (linear)
 
- 
Add the dependency to your
shard.yml:dependencies: diff: github: watzon/diff
 - 
Run
shards install 
require "diff"
a = File.open("foo.cr")
b = File.open("foo_edited.cr")
diff = Diff.new(a, b, Diff::MyersLinear)
puts diff.to_s- Fork it (https://github.com/watzon/diff/fork)
 - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
 
- Chris Watson - creator and maintainer