Live data from Hacker News

Show HN: Visual Brainfuck Interpreter

franklin.dyer.me

11–13 of 13 posts

Re: Show HN: Visual Brainfuck Interpreter

#11
I did some visualization of brainfuck quite a few years ago. I do an interpretation and generate a pov-ray script that generates frames that generate a video.

Multiplication here: https://www.youtube.com/watch?v=6PIZTFrkl0w , repo here: https://github.com/maweki/brainfuck2video

The problem I find with basically every brainfuck visualization (mine included): it's only useful with a few memory cells as the tape becomes full. You can't skip over or fast forward specific "widgets" (I've seen multiplication, now move along). At that point, you could find other levels of abstraction and try to allow for some macros that should always take x seconds, independent of the number of actual operations.

And I think most projects would be well-served using some simple termination arguments to prevent some simple not so well-behaved programs (of course, this is in general undecidable). But this shown interpreter for example, just does nothing on "+[]" but whether some program in some state is quiescent is easily decidable.

Re: Show HN: Visual Brainfuck Interpreter

#12
post #8

There's something wrong with the status (?) widget at the top of the screen. Here's what I get trying to run a sample .b script - https://imgur.com/EEcZDym.png

Hm. What browser are you using?

Not OP but I have the same issue in Firefox on Windows.

Re: Show HN: Visual Brainfuck Interpreter

#13
post #8

There's something wrong with the status (?) widget at the top of the screen. Here's what I get trying to run a sample .b script - https://imgur.com/EEcZDym.png

Hm. What browser are you using?

One of recent Firefoxes, on Windows.
Post reply on HN