Log In  

16

Cart [#40580#] | Copy | Code | 2017-05-14 | Link
16

Update 2017-05-14: The sonification can be switched off :-) (or rather, you need to explicitly turn it on in the X-menu).
Update 2017-05-05: Added crazily sounding sonification.
Update 2017-04-24: Made the UI a bit more clear and fixed some bugs.

TL;DR:

Hold X, pres DOWN once, release X, and watch the nerdy numbers fill your screen.

MORE INFO

Hey guys I made a very simple visual IDE for writing and running code in Urban Müller's Brainfuck programming language. https://en.wikipedia.org/wiki/Brainfuck

Top part of the screen is your code.
Bottom left is your memory.
Bottom right is your output console.

The operators +-<>[]., work in a very similar way to the original with minor modifications: + and - operators work modulo 16 as each memory cell can hold a single hexadecimal digit. The memory capacity is 64 digits. < and > operators will wrap around. The . operator (output) works as expected. The , operator (input) is a random hex digit generator. I am thinking of changing this in the future.

Use LEFT/RIGHT/UP/DOWN to move the cursor around your code.
Use Z and UP/DOWN arrows to choose between the available operators.
Use Z and LEFT to delete the operator and shift the rest to the left.
Use Z and RIGHT to copy-insert the operator and shift the code to the right.
Use X and UP/DOWN to restart, clear, stop, etc.

Check this cartridge's PICO-8 code for some more Brainfuck examples.

P#23560 2016-06-24 15:12

::

BTW, the code at startup generates the beginning of the mod-16 Fibonacci sequence :-)

P#23561 2016-06-24 15:14

::

Love it. I especially like the syntax colored code area and the custom big number font.

P#23564 2016-06-24 15:54

::

Wow, never tried BF before but this makes it very accessible and fun! love the sound mode, can write music with it!

P#40587 2017-05-14 20:42

::

Thanks! Yeah, the music generator was actually the original plan. Too bad the timing wasn't as precise as one would want.

P#40668 2017-05-16 16:22

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-05-30 11:09 | 0.187s | 1572k | Q:18