synt: Similar code analysis.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Calculate percentage of similarity between two pieces of code.


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.1.1, 0.1.2
Change log None available
Dependencies argparser (>=0.3 && <0.4), base (>=4 && <5), haskell-src-exts (>=1.16 && <1.17), regexpr (>=0.5 && <0.6), split (>=0.2 && <0.3) [details]
License LicenseRef-OtherLicense
Author Brent Lintner <brent.lintner@gmail.com>
Maintainer Brent Lintner <brent.lintner@gmail.com>
Category Language
Home page http://github.com/brentlintner/synt
Bug tracker http://github.com/brentlintner/synt/issues
Source repo head: git clone https://github.com/brentlintner/synt
Uploaded by brentlintner at 2014-11-23T19:29:56Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for synt-0.1.1

[back to package description]

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.