Skip to content

jocelyn-stericker/fizzbuzz-polyglot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fizzbuzz-polyglot Build Status

An experiment in writing FizzBuzz in every language.

rake test
[1/7] ruby...OK
[2/7] javascript...OK
[3/7] javascript/from-npm...OK
[4/7] ocaml...OK
[5/7] ocaml/peano...OK
[6/7] j...OK
[7/7] factor...OK
rake test javascript
javascript...OK

Adding a new language

Example: factor - https://factorcode.org

  1. Create a folder with the language name
  2. Write code in your language to print the first 100 numbers in FizzBuzz
  3. Add a Dockerfile which will execute your code
  4. Test your code with rake test DIRECTORY_NAME

Adding an additional solution to a language

Example: javascript/from-npm

Wanna show off a new technique/framework/etc? Feel free to follow the same steps above, in a separate folder under your language's directory. rake test LANGUAGE/FEATURE (i.e. rake test javascript/from-npm) will still work.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 26.4%
  • Ruby 17.5%
  • Dockerfile 16.1%
  • J 8.6%
  • Factor 7.3%
  • Swift 6.9%
  • Other 17.2%