Giter VIP home page Giter VIP logo

speckyyt / fizzbuzz-polyglot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jdan/fizzbuzz-polyglot

0.0 0.0 0.0 46 KB

An experiment in writing FizzBuzz in every language, each with its own Docker container

License: MIT License

Ruby 7.15% Dockerfile 23.67% JavaScript 2.80% Factor 2.98% J 3.51% OCaml 10.82% Rust 2.16% Python 2.02% Swift 2.82% F# 2.29% Lean 20.59% Elixir 2.43% C 2.69% Go 2.73% PowerShell 1.87% Shell 1.74% Haskell 2.09% PHP 1.90% Julia 1.71% Racket 2.02%

fizzbuzz-polyglot's Introduction

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.

fizzbuzz-polyglot's People

Contributors

102 avatar amarantedaniel avatar jdan avatar jocelyn-stericker avatar lesclarke avatar onelson avatar ryechus avatar speckyyt avatar wilsonehusin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.