synt: Similar code analysis.

[ language, library, program ] [ Propose Tags ]

Calculate percentage of similarity between two pieces of code.

[Skip to Readme]
Versions [faq] 0.1.0, 0.1.1, 0.1.2
Dependencies argparser (==0.3.*), base (==4.*), haskell-src-exts (==1.16.*), regexpr (==0.5.*), split (==0.2.*) [details]
License LicenseRef-OtherLicense
Author Brent Lintner <>
Maintainer Brent Lintner <>
Category Language
Home page
Bug tracker
Source repo head: git clone
Uploaded by brentlintner at 2014-11-23T19:35:44Z
Distributions NixOS:0.1.2
Executables synt
Downloads 1873 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for synt-0.1.2

[back to package description]



This is the Haskell implementation of Synt.

Supported Languages

  • Haskel

For more languages, see the top level Synt project.


cabal install synt


synt -h

Reading In Files

synt -c Foo.hs -t Bar.hs

Comparing Strings

synt -s -c "x = x ^ 2" -t "x = x * 2"


cabal sandbox init
./bin/configure 1
./bin/build 1


This is your go to:

cabal configure --enable-tests
cabal test

This also runs the tests without compiling, etc:


Using In Code

This is a TODO. :-)

In the meantime, please figure out at your own risk, or use the top level project.