top | item 3968052

(no title)

adir1 | 14 years 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!

discuss

order

andkerosine|14 years ago

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