syndiff 0.2.0

Standalone library that implements a structural diff algorithm inspired by Difftastic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# syndiff

**syndiff** is a lightweight, standalone library that implements a structural diff algorithm inspired by **Difftastic**, designed to be embedded inside other tools and applications.

### ✦ Philosophy

Traditional diffs treat code as text. Syndiff treats code as having *shape*.

This library exists to make syntax-aware diffing easy to integrate into editors, code review tools, language servers, and research projects - without dragging along a full application.

It does not aim to replace Difftastic. It distills its core ideas into a reusable form.

### ✦ Inspiration

Inspired by **[Difftastic](https://github.com/Wilfred/difftastic)**, created by Wilfred Hughes. All credit for the original algorithmic ideas belongs there. Any bugs introduced here are new and entirely our own.