Linked Questions
16 questions linked to/from Interpret brainfuck
1
vote
2
answers
536
views
Make a ;#*:) interpreter [duplicate]
A few month back, I made a language called ;# (Semicolon Hash) and it started a little bit of a craze (it even got its own tag, as you can see). But, as with ...
-2
votes
3
answers
418
views
Make a Brainfuck Interpreter [duplicate]
There already is a Brainfuck interpreter question, but it is from 2011 and not up to date with current site standards and vague in places. I have proposed reposting this in chat, and it was well-...
6
votes
0
answers
269
views
One source, lots of Brainfuck [duplicate]
Write a Brainfuck interpreter that can interpret multiple Brainfuck programs embedded within the same source. The syntax is the same except that the instructions must be prefixxed with the number/ID ...
11
votes
40
answers
5k
views
Integer square root of integer [closed]
Problem:
In your choice of language, write the shortest function that returns the floor of the square root of an unsigned 64-bit integer.
Test cases:
Your function must work correctly for all ...
14
votes
43
answers
3k
views
Convert binary to unary
The title says it all; Given a number in the binary (base-2) number system, output the same number expressed in unary (base-1).
You should take the binary number as a string (optionally with a ...
20
votes
10
answers
2k
views
How Turing complete is your language?
Find the maximum possible number of disjoint sets of characters, that are Turing complete subsets of your language.
Rules:
You can assume your Turing complete subset is contained in/called from a ...
23
votes
13
answers
1k
views
How many elves does Santa need to deliver gifts?
Santa needs some help determining how many elves he will need to help him deliver gifts to each house.
Coal is considerably heavier than presents, so santa will need three elves for every naughty ...
29
votes
10
answers
686
views
Convert Chevrons to Soliduses
Write a program that takes in a string containing only spaces, newlines, and angle brackets: <, > (chevrons). Output a ...
17
votes
9
answers
3k
views
Write a brainfuck translator
In any programming or scripting language x, write a program that takes a valid brainfuck sourcecode from stdin and output, to stdout, the sourcecode of a program, written in language x, that would ...
9
votes
8
answers
1k
views
Convert Brainfuck to a Non-Golfing Language
Input:
Any Brainfuck program. This includes brainfuck programs with comments such as +++COMMENT[>+++<-]..
Output:
A program in one of the below languages that ...
29
votes
2
answers
2k
views
Zero an arbitrarily large cell in Brainf***
Your task is to write a piece of code that zeros the current cell in the Brainfuck variant that, each cell can contain a signed integer of arbitrarily large magnitude, instead of the normal 0 to 255.
...
13
votes
3
answers
2k
views
Write a brainfuck compiler
Write a program that takes a brainfuck program and compiles it to executable machine code. You can target x86, x86_64, jvm (java bytecode) or armv6, and use one of the following executable formats: ...
7
votes
5
answers
928
views
Trivial Brainf**k Substitution Interpreter
Brainf**k is the most famous esoteric programming language and is the inspiration for hundreds of other esoteric languages. In fact, there are quite a few languages that are so heavily based off of ...
11
votes
2
answers
570
views
What is a good way to deal with tasks that require arrays using Haskell?
Often a task requires real arrays. Take for instance the task to implement Befunge or ><>. I tried to use the Array module for this, but it's really cumbersome, ...
7
votes
3
answers
825
views
Acrostic polyglot programming [closed]
The challenge is to write an acrostic piece of code.
When read normally (horizontally), the code should take an input string and remove all but the first character on each line. For example, the ...