Skip to content

Add nimdiff package - #3619

Merged
narimiran merged 1 commit into
nim-lang:masterfrom
capocasa:add-nimdiff
Nov 19, 2026
Merged

narimiran merged 1 commit into
nim-lang:masterfrom
capocasa:add-nimdiff

Conversation

@capocasa

Copy link
Copy Markdown
Contributor

Adds nimdiff — fast unified diffs in pure Nim.

  • Myers O(ND) algorithm in linear-space divide-and-conquer form (same core as git's xdiff / GNU diff), line interning, no dependencies
  • MIT licensed, requires Nim >= 2.0

Verification:

  • nimble install https://github.com/capocasa/nimdiff succeeds; binary builds and runs
  • test suite passes: 4500-case fuzz differential against GNU diff, git apply compatibility on 300 random cases

@narimiran
narimiran merged commit ecc2f01 into nim-lang:master Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants