Live data from Hacker News

Show HN: Visual Brainfuck Interpreter

franklin.dyer.me

1–10 of 13 posts

Re: Show HN: Visual Brainfuck Interpreter

#3
post #2

A Brainfuck interpreter that shows how the cellular automaton behaves as your code runs. A description of the language and some challenging puzzles can be found below.

In case you are not aware, there are quite a few people who have done pretty crazy things with brainfuck. For example, there are some really short quines [0], brainfuck compilers and interpreters in brainfuck, and a multitude of macro languages to make writing bf programs faster.

Writing a quine is a decent challenge. you should add that as a final challenge for when you have done the others.

[0]: https://github.com/itchyny/brainfuck/blob/master/quine3.bf

Re: Show HN: Visual Brainfuck Interpreter

#5
post #4

I wish the name wasn't NSFW. OR not safe for teaching kids about programming in mimimalist environments.

You should be able to find an appropriate one for your purposes somewhere in here (https://esolangs.org/wiki/Main_Page). Befunge and PATH come to mind.

Re: Show HN: Visual Brainfuck Interpreter

#7
post #4

I wish the name wasn't NSFW. OR not safe for teaching kids about programming in mimimalist environments.

Bequnge is a graphical environment for befunge. Uses Qt for front end so it's fast and runs anywhere. It's no longer maintained and it crashed once or twice on me though

Re: Show HN: Visual Brainfuck Interpreter

#9
post #4

I wish the name wasn't NSFW. OR not safe for teaching kids about programming in mimimalist environments.

Yes, that is regrettable. Whenever I talk to someone about BF, they tend to assume I’m just looking for an excuse to cuss.

One time I took a math/number theory class in which the professor had us prove all sorts of theorems but never told us their names (presumably because he didn’t want us looking them up). Depending on the context in which you’re teaching, you might try something like that - if one of your students were to look up the language and discover that it’s called “Brainfuck” on their own time, you wouldn’t be to blame.

On the other hand, depending on who you’re teaching, the name “Brainfuck” might actually serve as an intriguing hook that captures the attention of less-mature audiences. To be perfectly honest, the clickbait-y nature of the name “Brainfuck” is probably why I discovered the language while surfing Wikipedia in the first place.

Post reply on HN