Befunge-Interpreter
view release on metacpan or search on metacpan
accordingly.
'_' acts like '<' if it is true, and '>' if it is false.
'|' acts like '^' if it is true, and 'v' if it is false.
'While' loops can be made by sticking an 'if' in an infinite loop. For
example,
>_@
(This program fragment pops all of the non-zero values off the stack,
and the first zero value, then exits ['@' is the exit command.])
Input
The '&' command will get a numeric value from the standard input and
push it on the stack. '~' will get the next ASCII character from
standard input and push it on the stack.
eg.
( run in 1.848 second using v1.01-cache-2.11-cpan-b16cb0d3907 )