Questions tagged [rosetta-stone]
In a Rosetta Stone challenge, the goal is to write a solution using as many programming languages as possible.
34 questions
-14
votes
5
answers
481
views
12 with no 1234567890, but polyglot
This is my 12th question, so I thought of this idea.
Goal:
Output 12, with any preceding or trailing whitespace permitted
In as many languages as possible (where different versions or flags count as ...
16
votes
4
answers
975
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 ...
26
votes
6
answers
2k
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 ...
12
votes
6
answers
2k
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 ...
22
votes
5
answers
3k
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 ...
5
votes
2
answers
738
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 ...
16
votes
3
answers
675
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 ...
26
votes
11
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
...
79
votes
16
answers
15k
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.
...
25
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
...
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 ...
5
votes
7
answers
645
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 ...
10
votes
6
answers
699
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
1
answer
467
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 ...
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 ...