Submitted by alexios on

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.

Tags: 

Language: 


Comments


Add new comment

Leave a comment