Befunge-93 Interpreter
Samples:
world!
"!dlrow olleH">:#,_@
copies itself to output
:0g,:93+`#@_1+
number between 1..32
1248::+1> #+?\# _.@
of Eratosthenes
2>:3g" "-!v\ g30 <
|!`"O":+1_:.:03p>03g+:"O"`|
@ ^ p3\" ":<
2 234567890123456789012345678901234567890123456789012345678901234567890123456789
Many other examples here.
JavaScript interpreter source here.
or
times
ms
Input
Stack
Output:
Caveats
- Code may not line up correctly if modifed with the put (p) instruction.
- The code torus is only as large as the initial program.
Insert more lines or trailing space if data will be put beyond the end of code.
- Width is one more than you would expect, due to terminal newlines.
- When using the Run button, you cannot interrupt an infinite loop.
- Tested against the Befunge-93 portion of the Mycology test suite.
- Tested in Safari 7, FireFox, and IE 6
"om.cerstrkui@qnoia"> :#v_@
^,,\<
Last Modified: 2015.07.02