Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [rosetta-stone]

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

Filter by
Sorted by
Tagged with
15 votes
2 answers
527 views

Pristine Polyglots

As the title says, you are to create a pristine program in as many languages as possible. A pristine program, taken from here, is: Let's define a pristine program as a program that does not have any ...
user avatar
26 votes
6 answers
1k views

Build an alphabetised polyglot

As TIO can show, every letter of the Latin alphabet is represented when it comes to languages. For every letter there is at least 1 programming language whose name begins with that letter. Your task ...
user avatar
11 votes
6 answers
1k views

Polyglot self-interpreter time

Your task is to make a program which interprets the language it is run in, but also works in many languages. Let's say you make a Brainfuck-Underload self-interpreglot, as it will be called. Run in ...
user avatar
20 votes
5 answers
2k views

Print your char count in words, in many languages

This challenge is inspired by my earlier challenge "Create a program that prints the amount of characters it has, in words". This challenge's rules are simple: make a program that prints its ...
user avatar
5 votes
2 answers
661 views

A Multipurpose Quine

I personally love quines, but they all seem to be so... static. So why not create a quine that can do more. Challenge The challenge here is to create a quine that without any sort of input is a ...
user avatar
16 votes
3 answers
573 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 ...
user avatar
  • 749
26 votes
10 answers
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 ...
user avatar
  • 5,972
75 votes
16 answers
13k 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. ...
user avatar
  • 16.2k
24 votes
6 answers
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 ...
user avatar
  • 3,253
41 votes
12 answers
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 ...
user avatar
  • 3,253
5 votes
7 answers
540 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-robbers ...
user avatar
  • 2,204
10 votes
6 answers
576 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 ...
user avatar
  • 2,204
8 votes
1 answer
375 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 ...
user avatar
  • 201
40 votes
7 answers
2k views

Sharing (characters) is Caring!

Overview Consider the following task: Given a positive integer n > 0, output its integer square root. The integer square root of a number n is the largest value of x where x2 ≤ n, usually ...
user avatar
  • 13.9k
94 votes
19 answers
18k 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 ...
user avatar
8 votes
6 answers
1k 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 ...
user avatar
13 votes
1 answer
319 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, in ...
user avatar
  • 35.8k
16 votes
5 answers
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): ...
user avatar
  • 70.5k
11 votes
3 answers
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 ...
user avatar
  • 22.8k
18 votes
3 answers
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 ...
user avatar
8 votes
2 answers
558 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 ...
user avatar
  • 10.8k
22 votes
12 answers
1k views

Restricted Polyglot

Polyglots are programs that are valid in multiple programming languages simultaneously. Most such polyglots are written in such a way that certain constructs of one language are interpreted as ...
user avatar
  • 12.1k
8 votes
2 answers
758 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 ...
user avatar
37 votes
24 answers
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 ...
user avatar
  • 28.5k
2 votes
1 answer
645 views

Rosetta Stone Code Challenge

I presume you've all heard of the Rosetta Stone, an ancient stone found to have essentially the same passage written on it in three different scripts. This challenge is based upon that: you have to ...
user avatar
  • 22.8k
0 votes
0 answers
172 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 ...
user avatar
  • 10.8k
10 votes
2 answers
1k 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 ...
user avatar
  • 70.5k
10 votes
4 answers
828 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 ...
user avatar
  • 28.5k
-1 votes
8 answers
745 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: ...
user avatar
  • 115
11 votes
3 answers
703 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 ...
user avatar
  • 28.5k
14 votes
16 answers
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 ...
user avatar
  • 28.5k
-5 votes
3 answers
5k views

Descending Sort using Standard Ascending Sort Function [closed]

Taking an array of records. For example ...
user avatar
18 votes
2 answers
787 views

Quine that takes as input the name of a language and outputs the same thing implemented in the input language

From Quine central: Write a quine that takes as input the name of a language and outputs the same thing implemented in the input language. The source article has something you can work from, but as ...
user avatar
  • 12.2k