
Language::Befunge::IP::lib::ORTH - Orthogonal easement extension

The ORTH fingerprint (0x4f525448) is designed to ease transition between the Orthogonal programming language and Befunge-98 (or higher dimension Funges).
Even if transition from Orthogonal is not an issue, the ORTH library contains some potentially interesting instructions not in standard Funge-98.

Create a new ORTH instance.
Push back $a & $b (bitwise AND).
Push back $a | $b (bitwise OR).
Push back $a ^ $b (bitwise XOR).
Push back value stored at coords ($x,
$y).
Note that Befunge get is g($x,$y) (ie,
the arguments are reversed).
Store value $v at coords ($x,
$y).
Note that Befunge put is p($v,$x,$y) (ie,
the coordinates are reversed).
Print popped 0gnirts on STDOUT.
Change X coordinate of IP to $x.
Change Y coordinate of IP to $y.
Change X coordinate of IP velocity to $dx.
Change Y coordinate of IP velocity to $dy.
Test the top stack element, and if zero, skip over the next cell (i.e., add the delta twice to the current position).

Language::Befunge, http://catseye.tc/projects/funge98/library/ORTH.html, and http://www.muppetlabs.com/~breadbox/orth/orth.html.

Jerome Quelin,
<jquelin@cpan.org>

Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.