Fork Me on GitHub

Frinj

Practical unit-of-measure calculator DSL for Clojure

Download this project as a .zip file Download this project as a tar.gz file

Key Features

Usage

Using Leiningen, create a new project

$ lein new frinj-example

Add the following line to the dependency list in frinj-example/project.clj:

(defproject frinj-example "1.0"
  :dependencies [[org.clojure/clojure "1.3.0"]
                 [frinj "0.1.3"]])

Pull the dependencies and start the REPL

$ cd frinj-example
$ lein deps
$ lein repl

Reference and initialize the Frinj calculator

user=> (use 'frinj.repl)

Start calculating!

Examples

Finally, check out the wiki from more info.

License

Copyright (C) 2012 Martin Trojer

Distributed under the Eclipse Public License, the same as Clojure.