An open API service indexing awesome lists of open source software.

https://github.com/jetbrains-research/hldiff

Language-independent high-level differencing tool
https://github.com/jetbrains-research/hldiff

algorithm ast diff kotlin programming-languages

Last synced: 2 months ago
JSON representation

Language-independent high-level differencing tool

Awesome Lists containing this project

README

          

# hldiff
![Gradle Package](https://github.com/karvozavr/hldiff/workflows/Gradle%20Package/badge.svg)

Language-independent high-level differencing tool.

## Usage

- Download the release archive.
- Run `./hldiff --help` for the CLI description.
- `./hldiff fileBefore.py fileAfter.py` will print JSON high-level differcence to `stdout`.
- `./hldiff --html fileBefore.py fileAfter.py` will print HTML visualisation to `stdout`.
- `./hldiff --html --batch --outdir=otput_directory` will read file path pairs from `stdin`
(one pair per line, space separated) and output an HTML file with diff visualisation for every given file pair to `output_directory`.