2017 © Pedro Peláez
 

library befunge

Befunge-98 implementation.

image

igorw/befunge

Befunge-98 implementation.

  • Saturday, August 24, 2013
  • by igorw
  • Repository
  • 1 Watchers
  • 7 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

befunge-php

befunge, (*1)

Befunge is an esoteric programming language that operates in a 2d space, allowing the instruction pointer (ip) to point in any direction., (*2)

This interpreter is based on the funge-98 spec, and implements a non-concurrent two-dimensional variant of the language., (*3)

Example

Hello world:, (*4)

0"!dlroW ,olleH">:#,_@

Count:, (*5)

v                                        @
> & 00p 0 10p ;; 0. ;; " ", ;; > 00g 10g w @
v                                        <
> 10g 1+ 10p ;; 10g. ;; " ",   ^

Usage

Just pass a filename to the interpreter:, (*6)

$ bin/befunge examples/hello.b98

You can also pass the --debug option to get a log of all instructions., (*7)

$ bin/befunge --debug examples/hello.b98

Stability

Highly experimental, unstable, incomplete. PRs welcome., (*8)

References

The Versions

24/08 2013

dev-master

9999999-dev

Befunge-98 implementation.

  Sources   Download

MIT

The Requires

 

The Development Requires

befunge