Log In  

Cart #sosunuzuwe-0 | 2019-05-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
25

Update 2019-05-13: Use the "Enter Menu" to "load" some code examples.
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 all, 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.
Press ENTER to access some code examples.

P#23560 2016-06-24 15:12 ( Edited 2019-05-12 23:19)

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

P#23561 2016-06-24 15:14 ( Edited 2016-06-24 19:14)

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

P#23564 2016-06-24 15:54 ( Edited 2016-06-24 19: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 ( Edited 2017-05-15 00: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 ( Edited 2017-05-16 20:22)
1

So very tasty, @AdamJ. This concept of minimal programming shows some interesting ideas that could be expanded on later ...

P#91620 2021-05-07 01:59

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-19 08:32:16 | 0.026s | Q:20