Questions tagged [brain-flak]
This challenge is related to the Brain-flak esoteric language and languages based on Brain-Flak. Note that challenges that require the answers to be in a specific language are generally discouraged.
17 questions
15
votes
18
answers
2k
views
Horizontally mirror a brainflak program
Your task is to write a program or function which takes a pure brainflak program as input (assume it contains only balanced ()[]{}<>), and output a visually ...
20
votes
2
answers
546
views
Fix Brain-Flak push-pop redundancy
Brain-Flak is a stack-based esoteric language with eight commands:
...
19
votes
9
answers
2k
views
The Third Flak!
This challenge was posted as part of the April 2018 LotM challenge
Brain-Flak is a turing-tarpit language which has gained quite a lot of fame here on PPCG. The memory of the language is composed by ...
27
votes
12
answers
2k
views
Expand compressed brain-flak
This challenge was posted as part of the April 2018 LotM challenge, as well as for Brain-flak's 2nd birthday
I was thinking about what the most efficient way to encode brain-flak programs would be. ...
13
votes
6
answers
1k
views
Text to Brain-Flak
Your challenge is to turn input text to brain-flak code that will output the text.
Tutorial taken from here with permission here
Brain-Flak has two stacks, known as 'left' and 'right'. The active ...
11
votes
11
answers
1k
views
Parse a list of lists into a Sad-List
In this challenge, you must parse a list of lists, into a simpler list format.
This challenge is based on my sadflak parser. In my sadflak parser, it has all the () removed, replaced with the sum of ...
5
votes
2
answers
190
views
Tips for golfing in Mini-Flak
What general tips do you have for golfing in Mini-Flak? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Mini-Flak (e.g. "remove ...
44
votes
29
answers
3k
views
Surprise Party for Brain-Flak
This question is part of a series Brain-flak Birthday challenges designed to celebrate Brain-Flak's first Birthday. You can find more information about Brain-Flak's Birthday here.
Today is Brain-Flak'...
25
votes
6
answers
542
views
Appends or Prepends? Depends
Brain-flak turns one year old tomorrow! In honor of it's birthday, we're having a PPCG style birthday party, where several users post brain-flak related questions! Help us celebrate! :)
Brain-flak is ...
22
votes
22
answers
1k
views
Find the First Bracket Match
This was one of a series of challenges leading up to Brain-Flak's birthday. Find out more here.
Challenge
For this challenge your objective will be to find the very first pair of matching brackets in ...
14
votes
5
answers
462
views
Generate all Brain-Flak Snippets
This question is the second of several Brain-flak Birthday challenges designed to celebrate Brain-Flak's first Birthday! You can find more information about Brain-Flak's Birthday here
Challenge
For ...
18
votes
1
answer
293
views
Brainflak Multiplication Metagolf
This question is the first of several Brain-flak Birthday challenges designed to celebrate Brain-Flak's first Birthday! You can find more information about Brain-Flak's Birthday here
Last summer we ...
24
votes
3
answers
2k
views
Balance the Brackets
Your objective: Given a string of brackets, output the minimum Damerau-Levenshtein Distance required to turn the input string into a string where the brackets are balanced.
Input
The input string will ...
27
votes
2
answers
3k
views
Fastest Mini-Flak Quine
Mini-Flak is a subset of the Brain-Flak language, where the <>, <...> and [] ...
25
votes
9
answers
2k
views
Tips for Golfing in Brain-Flak
Brain-flak is a stack-based turing-tarpit language, written collaboratively between me, DJMcMayhem, and 1000000000.
Some users are very experienced in the mysterious ways of Brain-Flak. So I thought ...
31
votes
9
answers
2k
views
Golf a Brain-Flak Integer
Integers are tedious to represent in Brain-Flak. There are 8 operators:
...
19
votes
9
answers
2k
views
Write a brain-flak classic interpreter!
Brain-Flak (a cross between Brainf**k and Flak-Overstow) is a stack-based esoteric language. Since this challenge was posted, the language has evolved and updated, but this first revision of the ...