Hacker News new | ask | show | jobs
by adir1 5144 days ago
Awesome work, either way! Very impressive collection of language samples. It would make great post to tell us how you put this together, especially where these code samples were from and anything else of interest. Kudos!
1 comments

How I wish I could say I speak 70+ programming languages, but alas, they're all from Rosetta Code.[1] I would like to show a variety of "tasks", as the site calls them, but scraping seems like it would be a pain, so I went with the most interesting problem with a solid number of samples. As for the architecture, it's pretty much just a Ruby hash from language to code, and then a bit of CoffeeScript to glue everything together.

[1] http://rosettacode.org/wiki/99_Bottles_of_Beer

I knew it was from Rosetta -- coincidentally, only a few days ago I submitted my own entry there http://rosettacode.org/wiki/99_Bottles_of_Beer#Fexl .