LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Befunge Interpreter

Root / Submissions / [.]

12Me21Created:
Download:533E5VKV
Version:1.8Size:6.28 KB
It's a befunge interpreter https://esolangs.org/wiki/Befunge Changes from original befunge: *The code area is only 50x25 (instead of 80x25) *division/MOD by 0 returns 0 instead of asking the user

Instructions:

Controls: Y: run program X: end program D-pad: move cursor (in edit mode) keyboard: insert character (in edit mode)

Notes:

Changelog: -You can now end the program if you're stuck in a loop of ~ or & by holding X and pressing enter -fixed ~ (string input)

Nice posting some befunge code in the chat.

I tried a "Hello World!" code and it didn't work. The interpreter uses a single stack, right? Maybe I did it wrong lol (Edit: I'll try the newer updated version)

Replying to:MZ952
I tried a "Hello World!" code and it didn't work. The interpreter uses a single stack, right? Maybe I did it wrong lol (Edit: I'll try the newer updated version)
Yeah, I forgot to add strings to the original (lol). The updated version works though.

Here's a JS befunge interpreter I made: http://12me21.github.io/befunge.html (&~? are not added yet) All the old interpreters are broken I think

Nice syntax colors

Replying to:haloopdy
Nice syntax colors
Thanks I actually used the same colors that I used in the PTC version (which were from the default palette 0 because I didn't understand how anything worked back then)

I've been waiting for this EDIT: (not really, but nice work tho)

Replying to:12Me21
Here's a JS befunge interpreter I made: http://12me21.github.io/befunge.html (&~? are not added yet) All the old interpreters are broken I think
Good program friendo. Only Befunge-93 though. Would be even better if you fully supported Funge-98, but it's also a fair bit more complicated to implement. I finally managed to find a working one online though: http://befunge-98.tryitonline.net/