A Clojure wrapper for the Java implimentation of google-diff-match-patch by Neil Fraser.
[clj-diffmatchpatch "0.0.9.3"]
(require '[clj-diffmatchpatch :as dmp])
(dmp/wdiff "I am an example." "I am a simple example.")
clj-diffmatchpatch is currently in alpha.
- From the google-diff-match-patch api, currently implemented wrapper functions:
diff cleanup-semantic pretty-html patch-make patch-to-text patch-from-text patch-apply
- Original api functions currently updated to take and output edn instead of java objects / structures:
diff cleanup-semantic
- Original api functions currently updated to take edn:
patch-make
- Convienience function added:
wdiff
Distributed under the Apache 2.0 license.