Show HN: Canontra, deterministic semantic fingerprints for source code
Category: devtools
Tags: semantic-analysis, static-analysis, build-tools, polyglot, haskell, fingerprinting
Score: 7.8/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 7)
Canontra computes deterministic semantic fingerprints of source code across multiple languages, enabling build systems to distinguish meaningful logic changes from cosmetic formatting or reordering. It offers layered fingerprints covering AST structure, declarations, dependencies, call graphs, control flow, data flow, and type contracts, with features like alpha-canonicalization and algebraic normalization. This is a technically ambitious project with strong potential to reduce unnecessary rebuilds and test runs in CI pipelines.
Target audience: devops engineers, build system maintainers, CI/CD pipeline developers
Repository: https://github.com/symtrace/canontra · Haskell · Apache-2.0
View on Hacker News