Simple sample unit converter with groovy using metaprogramming
Groovy Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README
build.gradle
convert.sh
unitConverter.iml
unitConverter.ipr
unitConverter.iws

README

To run, compile using groovyc, then run the convert.sh script:

./convert.sh 60.meters.to.miles

or ...

./convert.sh '1 mile to inches'