TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Diff optimized for comparing text files containing prose

2 pointsby rhythmvsabout 8 years ago

2 comments

rhythmvsabout 8 years ago
The library (Common Lisp) is on Github: <a href="https:&#x2F;&#x2F;github.com&#x2F;gigamonkey&#x2F;monkeylib-prose-diff" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gigamonkey&#x2F;monkeylib-prose-diff</a>
macmacabout 8 years ago
google-diff-match-patch will produce some very nice prose diffs, especially if you tune the defaults a little to look further back&#x2F;ahead. <a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;google-diff-match-patch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;google-diff-match-patch&#x2F;</a> - it is availabke in Java, JavaScript, Dart, C++, C#, Objective C, Lua and Python.