brainfuck Questions
2
Solved
Can somebody please explain this code to me? I understand what it does but I don't understand how it works.
# >n 0 d
[->+>-[>+>>]>[+[-<+>]>+>>]<<<<...
1
Solved
So, i was wondering how could i print this value as a number NOT as a character an example would be that the pointer is on (125)
(0)(0)(125)(0)(0)
In this case when this snippet of would start, the...
Disembogue asked 22/2, 2023 at 18:38
9
Can someone please post a code piece for multiplying two one-digit numbers in the programming language brainf*ck?
Anthropogeography asked 2/3, 2011 at 9:52
7
Brainfuck is known for its extremely small compilers. I have a VERY small device that probably couldn't fit even the smallest of brainfuck compilers in its data. Is there an esoteric programming la...
Quietus asked 5/4, 2014 at 2:46
2
Solved
I have a basic program in C that I wish to convert to the language brainfsck but cannot find anything on the subject. I find many "brainfuck to C" converters but not the other way around. I found C...
5
How to print numbers from 1 to 10 using a loop in Brainfuck? Is it even possible?
I am looking for a solution to this issue.
Chert asked 28/11, 2018 at 20:59
2
Solved
I have just discovered a programming language, which is called Brainfuck.
My question is how to write an if-else statement in Brainfuck?
Is it done by comparing two cells? If yes, then how do I c...
Cattish asked 5/9, 2017 at 13:56
6
How can I compare two numbers with an inequality? (greater than or less than)
I want to compare single digits
For example
1 2
5 3
9 2
etc.
Triplenerved asked 29/5, 2011 at 15:30
1
Solved
I wanted to improve my C skills, so I search some program's ideas.
Someone propose to create a simple Brainf*** interpreter and then a compiler. So here I am.
I created the interpreter and it wor...
Rollway asked 18/11, 2019 at 11:31
7
I'm trying to write a program with BrainFuck that can read two numbers up to 9, calculate the sum of them and then print the result out, e.g. 3 & 5 give the result 8 .
I'm just trying to unde...
Dirty asked 20/5, 2012 at 3:10
2
Can you create a programming language with just one symbol like brainfuck.
Roadside asked 21/3, 2018 at 5:6
4
Solved
I've written a Brainfuck implementation (C++) that works like this:
Read input brainfuck file
Do trivial optimizations
Convert brainfuck to machine code for the VM
Execute this machine code in th...
6
Solved
Someone sent this to me and claimed it is a hello world in Brainfuck (and I hope so...)
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+...
October asked 30/5, 2013 at 12:57
2
Solved
The following code snippet is from Wikipedia, and is the preamble to what seems to be the standard Hello World! program in Brainfuck...
1. +++++ +++++ initialize counter (cell #0) to 10
2. [ use l...
Pownall asked 8/1, 2014 at 19:10
10
Solved
I'm creating a Brainfuck parser (in a BASIC dialect) ultimately to create an interpreter but i've realise it's not as straight forward as i first thought. My problem is that i need a way to accurat...
1
Solved
I am having trouble with implementing a brainfuck assembler for codegolf.se. I managed to load a string in to memory find its length cat it out, print strings n times etc, but I cant seem to load j...
Linwoodlinz asked 31/7, 2016 at 2:35
3
Solved
So I'm working on a program that reads in a file and then outputs it back out again but i'm having trouble getting the program to stop taking input at the end of the file. I want it to stop at a sp...
Abrogate asked 21/7, 2014 at 3:23
2
Solved
I tried out this hello world program in Brainfuck. How can I print the text multiple number of times?
Here's my code:
+++++++[>++++++++++ <- ] >++.>++++++[>++++++++++ <- ] >++...
3
Solved
I got into an argument over on SuperUser.com about useless answers and found myself challenging the other poster to answer the question in brainfuck. He didn't take me up on it, but now I'm curious...
Ieyasu asked 7/10, 2009 at 15:12
1
Solved
I tried testing my Brainfuck interpreter in c with this bottle shaped code in Brainfuck:
+>+++++++[>>>+++
+++++<<<<+++++
+++>-]+++++++++>>>
+>>+++++++...
9
Solved
I have written a simple brainfuck interpreter in MATLAB script language. It is fed random bf programs to execute (as part of a genetic algorithm project). The problem I face is, the program turns o...
Seljuk asked 15/12, 2008 at 5:49
2
Is Brainfuck Turing-complete if the cells are bits, and the + and - operations simply flip a bit? Is there a simple proof that Brainfuck-like languages are Turing-complete regardless of the cell si...
Kirst asked 22/12, 2012 at 23:19
2
I want to read in a number with any number of digits with bf. I know how to read in the correct number of digits if I set it manually, like this:
,>,>, 2 Read in 3 digits
<< 0
--------...
1
Solved
I am toying with nim (at the time of writing still called nimrod), by writing a Brainfuck interpreter in the language. Without loops implemented, I have:
import os, unsigned
const RamSize = 200
...
Expertize asked 30/5, 2013 at 17:50
3
Solved
A professor of mine has said he'll accept homework assignments in any language we'd care to use. I'm on good enough terms that I'd like to mess with him a bit and submit a valid homework assi...
Impetrate asked 26/2, 2011 at 4:26
1 Next >
© 2022 - 2025 — McMap. All rights reserved.