This is your chance to play with Befunge '93 online. No interpreter needed! I conceived this Befunge toy in a feverish fit (one might say it was ill-conceived), and as a way to practice JavaScript (not my favourite programming language). Like in most things, I didn't come first. You should have a look at the original Javascript Befunge Interpreter.
If you need an actual Befunge interpreter, or need to run programs in more modern Befunge versions (Befunge '98 is the most recent language spec), have a look at the Wikipedia page on Befunge.
Befunge is not the work of the Mad Arab, it's the work of Chris Pressey from Cat's Eye Technologies. He has plenty of documentation on the language. You should also look at his other projects.
Instructions
Paste your Befunge '93 program in the source code box, then press the ‘Input code & Reset’ button to load the code into the JavaScript interpreter. You may then execute the code one step at a time, at a slow pace (creep), or at a fast pace (run), which is really not that fast at all. Even in fast mode, you should see the workings of the code as it manipulates the stack and performs I/O.
Befunge '93 Playground
| Program (X×Y) | |
|---|---|
| Stack | Output |
Known issues
Input works, but only barely. And it's klunky to boot.




Comments
The " original Javascript
The " original Javascript Befunge Interpreter" link is dead. http://www.quirkster.com/iano/js/befunge.html this could be a valid one. The article is interesting. I had no idea a lang like that even existed.
Thanks! I've updated the link
Thanks! I've updated the link. Befunge is one of the languages that rekindled interest (and certainly my interest) in esoteric programming languages. One of these days, when madness finally takes its toll, I'll write something in INTERCAL, too.
But I'm never touching Brainfuck.
Add new comment