Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 1c8c8e2

Browse files
committed
Update Readme
1 parent 9771b5f commit 1c8c8e2

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

README.md

+23-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,29 @@ operations required for synchronizing plain text.
1111
* Apply a list of patches onto plain text. Use best-effort to apply patch even when the underlying text doesn't match.
1212
* [Patch Demo](https://neil.fraser.name/software/diff_match_patch/demos/patch.html)
1313

14-
Currently available in Java, JavaScript, Dart, C++, C#, Objective C, Lua and Python.
15-
Regardless of language, each library features the same API and the same functionality.
16-
All versions also have comprehensive test harnesses.
14+
Originally built in 2006 to power Google Docs, this library is now available in C++, C#, Dart, Java, JavaScript, Lua, Objective C, and Python.
15+
16+
### Reference
17+
18+
* [API](https://github.com/google/diff-match-patch/wiki/API) - Common API across all languages.
19+
* [Line or Word Diffs](https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs) - Less detailed diffs.
20+
* [Plain Text vs. Structured Content](https://github.com/google/diff-match-patch/wiki/Plain-Text-vs.-Structured-Content) - How to deal with data like XML.
21+
* [Unidiff](https://github.com/google/diff-match-patch/wiki/Unidiff) - The patch serialization format.
22+
* [Support](https://groups.google.com/forum/#!forum/diff-match-patch) - Newsgroup for developers.
23+
24+
### Languages
25+
Although each language port of Diff Match Patch uses the same API, there are some language-specific notes.
26+
27+
* C++
28+
* [C#](https://github.com/google/diff-match-patch/wiki/Language:-C%23)
29+
* [Dart](https://github.com/google/diff-match-patch/wiki/Language:-Dart)
30+
* [Java](https://github.com/google/diff-match-patch/wiki/Language:-Java)
31+
* [JavaScript](https://github.com/google/diff-match-patch/wiki/Language:-JavaScript)
32+
* [Lua](https://github.com/google/diff-match-patch/wiki/Language:-Lua)
33+
* Objective-C
34+
* [Python](https://github.com/google/diff-match-patch/wiki/Language:-Python)
35+
36+
A standardized speed test tracks the [relative performance of diffs](https://docs.google.com/spreadsheets/d/1zpZccuBpjMZTvL1nGDMKJc7rWL_m_drF4XKOJvB27Kc/edit#gid=0) in each language.
1737

1838
### Algorithms
1939
This library implements [Myer's diff algorithm](https://neil.fraser.name/writing/diff/myers.pdf) which is generally considered to be the best general-purpose diff. A layer of [pre-diff speedups and post-diff cleanups](https://neil.fraser.name/writing/diff/) surround the diff algorithm, improving both performance and output quality.

0 commit comments

Comments
 (0)