1
0
Fork
You've already forked zig-diff
0
Zig 99.2%
Nix 0.8%
2023年10月21日 17:22:48 +03:00
src fix depreacted min 2023年10月21日 17:22:48 +03:00
.envrc Initial commit - play around 2022年01月13日 19:33:40 +01:00
.gitignore Set up sructure from dissimilar 2022年01月15日 11:49:00 +01:00
build.zig fix for latest zig 2023年10月21日 17:16:32 +03:00
flake.lock nix flake update 2022年02月05日 13:44:30 +01:00
flake.nix Initial commit - play around 2022年01月13日 19:33:40 +01:00
LICENSE Create LICENSE 2023年02月15日 11:37:25 +01:00
README.md Update README.md 2022年01月21日 22:05:41 +01:00

zig-diff

Zig text diffing library inspired and partially based on diff-match-patch and David Tolnay's dissimilar Rust crate.

The basic approach is Myers' diff algorithm. Both bytewise diffing and utf-8 aware diffing are supported.

This project should be considered alpha quality, the test suite isn't particularly exhaustive and there are a number of improvements to be made for more readable diffs. The public API will change.

The diff-match-patch library and dissimilar implement semantic cleanups for more human-friendly, readable diffs. This is something we will implement in this library, but we don't have it yet.

This project is developed and tested on Zig 0.9.