Numeral to roman in different languages
This repo is a collection of implementations of the roman numeral kata in different programming languages. The kata is basically about converting an arabic number like 1, 42 or 666 to its roman counterpart. To make this easier there is a test script written in ruby that ensures that each impementation is correct. Run it without any argument and it will run tests on all the implementations. To run just one language just use that folder name as the one and only argument to the script. For example:
./numeral_to_roman_test.rb ruby . The following sections describe what you need to set up on your computer to run each of the languages. The test scripts expect some kind of program or script in the target folder that is called
numeral_to_roman. In addiation - if the language is compiled - the script
before will be run so that compilation only occurs once. And many of the scripts expect there to be a bash in /bin.
- well - bash is needed....
- gcc 4.2.1 that comes with MacOSX 10.6.5. Would probably work with any gcc.
- java 184.108.40.206 that comes with MacOSX 10.6.5. The clojure jar is in the repo.
sudo brew install erlanginstalled erlang 5.8.2
sudo brew install goif mercurial is installed
sudo brew install ghc
- java 220.127.116.11 that comes with MacOSX 10.6.5. Any Java version will probably work fine.
sudo brew install node
- nim is needed on the command line.
- check the readme in the subfolder - this piece does not integrate with the root folder test
- 1.9.2 instaled with rvm - should probably run with 1.8 as well
- java 1.6, Scala 2.9.0 and SBT 0.7.7
- rust 0.7, older or newer may or may not work