6.2.901.900
sexp-diff
Vincent St-Amour <stamourv@racket-lang.org>
This package provides an S-expression-aware diffing tool based on Levenshtein-like tree edit distance.
procedure
(sexp-diff e1 e2 [ #:old-marker old-marker #:new-marker new-marker]) → sexp? e1 : sexp? e2 : sexp? old-marker : any/c = '#:old new-marker : any/c = '#:new
Produces a tree that corresponds to the common structure of e1 and
e2, with e1-specific parts tagged with old-marker
and e2-specific parts tagged with new-marker.
Examples: | |||||||||||||||||||||||
|