Share your repls and programming experiences

← Back to all posts
Python Brainf**k Interpreter v1.1.2 (08.16.)
Babbel (62)

Just finished my Brainf**k interpreter, yay! :D

I hope you like it!

BF tutorial: https://learnxinyminutes.com/docs/bf/ (don't worry, it's easy to learn ;)
Text to code: https://andrew.hedges.name/experiments/brainf_cker/

hello_world.b copied from https://de.wikipedia.org/wiki/Brainfuck#Hello_World! (german)

Known issues:

  • If your text consists of multiple lines it might not print the last line. In this case just add an empty line at the end of your text.
  • If your code includes a lot of loops, the compiler may freeze (Should work now. If not, please tell me)

UPDATE 1.1:

It's finally working now! \(^o^)/

Due to my stupidity, there was a problem in the code that caused the compiler to get stuck in loops.

UPDATE 1.1.1:

  • Tutorial added
  • Colors added
  • Debug warning added

UPDATE 1.1.2:

  • Debug pauses added
  • Faulty error messages corrected
  • Debug messages improved

Commentshotnewtop
HappyFakeboulde (223)

I think this is actually an interpreter, not a compiler

CSharpIsGud (599)

Looks good, I made one of these in C# but i don't remember it being reliable

Babbel (62)

@CSharpIsGud thank you! you can run it now if you want. it has still some bugs, but it works :P

CSharpIsGud (599)

@Babbel A brainf interpreter is probably something everyone has done my project has me angry and its the first time ive given up on fixing something, so i think ill make another one :/ I hate red

amasad (2541)

Ah cool and simple. I just ported mine that I wrote 7 years ago to Repl.it and made it modern JavaScript. Runs on NodeJS

https://repl.it/@amasad/bfjs

Babbel (62)

@amasad thanks :) it's working now. i think i will add colors too