Questions tagged [brainfuck]

Brainfuck (bf) is an esoteric, Turing-complete programming language famous for its minimalistic, eight-character syntax. Attribution to Wikipedia.

4 questions
11
votes
2 answers

How is Brainfuck Turing complete?

I'm trying to write a bit of code in Brainfuck, but I stumbled into some problems. That got me wondering how Brainfuck is Turing complete, as I understand it Turing complete means a language or machine can calculate any function. What got me…
S.Klumpers
  • 237
  • 2
  • 7
8
votes
1 answer

Is there a practical use from learning Brainfuck?

Brainfuck is an esoteric programming language created in 1993 by Urban Müller. It was designed to challenge and amuse programmers, and was not made to be suitable for practical use. But still, it exists and some really cool stuff is written with…
4
votes
2 answers

Is is possible to write a "Brainfuck with variables" compiler?

I'm on a quest to write a LISP-ish language that compiles to Brainfuck. Well, it's a stack of intermediate compilers actually. Currently I'm trying to write the one that transforms this code: a++b+a into: ++>+< It's standard Brainfuck, but with…
Andrej T.
  • 149
  • 3
1
vote
2 answers

What should I use as a random seed in a Brainfuck?

As I understand it, most pseudo-random algorithms work by taking one or more truly random longs, such as the date, time, MAC-Address, serial-number, etc., passing them through a complex series of calculations, and returning the result. However, this…