Questions tagged [rosetta-stone]

In a Rosetta Stone challenge, the goal is to write a solution using as many programming languages as possible.

15
votes
3answers
437 views

The Pyramid of Languages

Write a code that runs or compiles in as many programming languages as possible and prints a newline separated list of names of previous and current programming languages. Every used language must ...
25
votes
10answers
2k views

404 - Unique 404 page not found

Inspired by a polyglot on the Stack Overflow 404 page: Goal Your goal is simple, to create a polyglot that outputs the number 404, and then terminate, in as many languages as possible. Restrictions ...
72
votes
14answers
9k views

Hello World in Multiple Languages

Task Create a program or a function that is valid in multiple programming languages, and when compiled/interpreted as a different language outputs "Hello, World!" in a different natural language. ...
23
votes
6answers
1k views

Polyglot the (non constant) OEIS!

Disclaimer: This is heavily inspired by "Polyglot the OEIS!" but fixes the problem that lead to closure (see the output section) and was re-posted as to not invalidate answers. Introduction We all ...
42
votes
12answers
3k views

Polyglot the OEIS! [duplicate]

Note: This challenge has been moved to Polyglot the (non constant) OEIS! to avoid closure. Introduction We all know and love the on-line encyclopedia of integer sequences (OEIS). So what if we made ...
5
votes
7answers
515 views

Stealing sequences: Robbers

This is cops-and-robbers. This is the Robbers thread. For the cops thread, go here. I've noticed a number of OEIS challenges since I joined the site. It seems only fair that we have a cops-and-...
10
votes
6answers
512 views

Stealing sequences: Cops

This is cops-and-robbers. This is the Cops thread. For the robbers thread, go here. I've noticed a number of OEIS (On-line Encyclopedia of Integer Sequences) challenges since I joined the site. It ...
8
votes
1answer
314 views

How high can you count in different languages?

Based on How high can you count? let us give an advantage to the polyglot people. Challenge: Your task is to write as many programs / functions / snippets as you can, where each one outputs / prints ...
38
votes
7answers
2k views

Sharing (characters) is Caring!

Overview Consider the following task: Given a positive integer n > 0, output its integer root. The integer root of a number n is the largest value of x where x2 ≤ n, usually expressed with the ...
92
votes
18answers
15k views

When was this language released?

Your challenge is simple. You need to write a program that prints to either STDOUT or a file the year the language it is written in was released. Because this is such a simple task, the twist is that ...
8
votes
6answers
986 views

Rosetta Stone Code Golf Challenge: Print Certain Numbers; all snippets must be same length

Rosetta Stone Code Challenges are challenges where you must complete the task in as many languages as possible. The Challenge You will be given two numbers, n and ...
12
votes
1answer
257 views

Golf some quine stripes in different languages

You will choose m languages and write n programs in each language, each with length n*m. The kth program should output the kth character of each program, ordered by the program number. For example, ...
15
votes
5answers
2k views

RadioASCII Elements: Output the elements of the periodic table while slowly losing characters

Here is a list of the 118 (current) elements of the periodic table (in a collapsed Stack Snippet for your convenience): ...
8
votes
2answers
1k views

Monkeys at a Typewriter

Sometimes when you press a key on a keyboard, the letter doesn't always display on screen. Whether this is because of a dodgy connection or otherwise, you have decided to write a script to control the ...
16
votes
3answers
1k views

Choose-Your-Own-Language Code

Let's take a grid of 16x16 printable ASCII characters (code points 0x20 to 0x7E). There are 30-choose-15 paths from the top left to the bottom right corner, making only orthogonal moves, like the ...
9
votes
2answers
514 views

Python: I wish I was PHP [closed]

There's an old story about a stonecutter who was never satisfied with what he was. He wished he could become the sun, and so he was. Blocked by the clouds, he wished to be - and became - a cloud. When ...
8
votes
2answers
688 views

Rosetta Stone Challenge: Run-Length Encoding v2.0

The goal of a Rosetta Stone Challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! The Challenge We've done run-length encoding before but only ...
38
votes
24answers
7k views

Rosetta Stone Challenge: What's Average Anyways?

The goal of a Rosetta Stone Challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! The Challenge When people use the term "average," they ...
0
votes
0answers
154 views

Create a chain of programs in different languages [duplicate]

Create a program in any language, which outputs the source code for a program in another language, which outputs the source code for a program in another language, and so on. Please post at the top ...
20
votes
2answers
3k views

Draw the Utah Teapot

The Utah teapot, originally created by Martin Newell, is a convenient object for testing 3D graphics programs. The task is to create a wireframe image of the teapot in perspective projection. To ...
10
votes
2answers
902 views

Create a chain of spam generators in as many languages as possible

The goal of a rosetta-stone challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! In this challenge, you will create a program that will ...
11
votes
4answers
799 views

Rosetta Stone Challenge: Gene Mapping

The goal of a Rosetta Stone Challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! The Challenge Your challenge is to implement a program that ...
-1
votes
8answers
689 views

Printing all numbers from N to M in one single expression [closed]

Given the integers N and M, can you print all numbers from N to M comma-seperated? The hitch is to use one single expression. The output for N=23 and M=42 should look like this: ...
10
votes
3answers
657 views

Rosetta Stone Challenge: Draw a Box Plot

The goal of a Rosetta Stone Challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! The Challenge Your challenge is to implement a program that ...
15
votes
16answers
2k views

Rosetta Stone Challenge: Find the rule for a series

The goal of a Rosetta Stone Challenge is to write solutions in as many languages as possible. Show off your programming multilingualism! The Challenge Your challenge is to implement a program that ...
-5
votes
3answers
5k views

Descending Sort using Standard Ascending Sort Function [closed]

Taking an array of records. For example ...