Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A .net library for recognising and validating EAN codes.
C# F#
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test
.gitignore
MIT-LICENSE
README.textile
Rakefile

README.textile

My first foray into functional programming with fsharp – a DLL for checking a
string to see if it’s a valid EAN. Also includes a very small command line app
that uses the DLL to check if an argument is an EAN.

Dependencies

I’m a ruby guy that uses linux, so I’m using Rake as my build tool and mono for
compilation.

On Debian, run the following as root to get the necesary packages:

aptitude install rake mono-2.0-devel mono-gmcs mono-mcs mono-runtime mono-utils nunit

This also requires the fsharp compiler to be installed and available at a hard
coded location. I’ll fix this at some point. To get fsharp installed with mono,
follow the instructions at
http://www.strangelights.com/fsharp/Wiki/default.aspx/FSharpWiki.MonoLinux

Compiling

To compile the EAN13 assembly, run:

rake compile

To compile the test app, run:

rake compile_app

To run the test suite, use:

rake

Running

To run the app, use:

ean13app.exe 9780330423625

License

This library is copyright James Healy and provided under the MIT license. See
MIT-LICENSE for further details.

Something went wrong with that request. Please try again.