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
- Host: GitHub
- URL: https://github.com/jetbrains-research/hldiff
- Owner: JetBrains-Research
- License: apache-2.0
- Created: 2019-11-30T17:27:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T03:08:36.000Z (over 2 years ago)
- Last Synced: 2025-04-05T04:41:59.766Z (7 months ago)
- Topics: algorithm, ast, diff, kotlin, programming-languages
- Language: Kotlin
- Homepage:
- Size: 37.6 MB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# hldiff
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`.