devel/diffsitter - The NetBSD Packages Collection

Tree-sitter based AST difftool to get meaningful semantic diffs

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!

Build dependencies

lang/rust lang/python312 pkgtools/mktools pkgtools/digest devel/pkgconf pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64diffsitter-0.8.4.tgz
NetBSD 10.0aarch64diffsitter-0.8.3.tgz
NetBSD 10.0earmv7hfdiffsitter-0.8.4.tgz
NetBSD 10.0earmv7hfdiffsitter-0.8.2.tgz
NetBSD 10.0earmv7hfdiffsitter-0.8.3.tgz
NetBSD 10.0i386diffsitter-0.8.4.tgz
NetBSD 10.0i386diffsitter-0.8.3.tgz
NetBSD 10.0powerpcdiffsitter-0.8.1nb1.tgz
NetBSD 10.0powerpcdiffsitter-0.8.1nb1.tgz
NetBSD 10.0powerpcdiffsitter-0.8.2.tgz
NetBSD 10.0sparc64diffsitter-0.8.3.tgz
NetBSD 10.0x86_64diffsitter-0.8.4.tgz
NetBSD 10.0x86_64diffsitter-0.8.3.tgz
NetBSD 9.0earmv7hfdiffsitter-0.8.2.tgz
NetBSD 9.0earmv7hfdiffsitter-0.8.3.tgz
NetBSD 9.0i386diffsitter-0.8.4.tgz
NetBSD 9.0i386diffsitter-0.8.3.tgz
NetBSD 9.0powerpcdiffsitter-0.8.1nb1.tgz
NetBSD 9.0powerpcdiffsitter-0.8.1nb1.tgz
NetBSD 9.0powerpcdiffsitter-0.8.2.tgz
NetBSD 9.0x86_64diffsitter-0.8.4.tgz
NetBSD 9.0x86_64diffsitter-0.8.3.tgz
NetBSD 9.3x86_64diffsitter-0.8.4.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.