The synt package

[maintain]
Warnings:

Calculate percentage of similarity between two pieces of code.


[Skip to ReadMe]

Properties

Versions0.1.0, 0.1.1, 0.1.1, 0.1.2
Dependenciesargparser (==0.3.*), base (==4.*), haskell-src-exts (==1.16.*), regexpr (==0.5.*), split (==0.2.*) [details]
LicenseOtherLicense
AuthorBrent Lintner <brent.lintner@gmail.com>
MaintainerBrent Lintner <brent.lintner@gmail.com>
Stabilityexperimental
CategoryLanguage
Home pagehttp://github.com/brentlintner/synt
Bug trackerhttp://github.com/brentlintner/synt/issues
Source repositoryhead: git clone https://github.com/brentlintner/synt
Executablessynt
UploadedSun Nov 23 19:29:56 UTC 2014 by brentlintner

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for synt-0.1.1

Synt.hs

Hackage

This is the Haskell implementation of Synt.

Supported Languages

For more languages, see the top level Synt project.

Installation

cabal install synt

Usage

synt -h

Reading In Files

synt -c Foo.hs -t Bar.hs

Comparing Strings

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

Hacking

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

Testing

This is your go to:

cabal configure --enable-tests
cabal test

This also runs the tests without compiling, etc:

./bin/test

Using In Code

This is a TODO. :-)

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