devel/diffsitter 0.9.0 NetBSD
Tree-sitter based AST difftool to get meaningful semantic diffs
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel
- Package size
- 958.9 KiB, 4367.5 KiB installed
Description
diffsitter creates semantically meaningful diffs that ignore formatting differences like spacing. It does so by computing a diff on the AST (abstract syntax tree) of a file rather than computing the diff on the text contents of the file.
diffsitter uses the parsers from the tree-sitter project to parse source code. As such, the languages supported by this tool are restricted to the languages supported by tree-sitter.
Supported languages: Bash, C#, C++, CSS, Go, Java, OCaml, PHP, Python, Ruby, Rust, Typescript/TSX and HCL
diffsitter is very much a work in progress and nowhere close to production ready (yet). Contributions are always welcome!
Install
Binary package:
pkgin install diffsitter
From pkgsrc:
cd /usr/pkgsrc/devel/diffsitter && make install clean
Dependencies
No port depends on this one.