Create a Language::Befunge::Storage base class, with some generic methods
commit4ab9fef1aae01e9c8dc75a30a4a22720de02d34c
authorMark Glines <mark@glines.org>
Sun, 8 Jun 2008 13:51:43 +0000 (8 06:51 -0700)
committerMark Glines <mark@glines.org>
Sun, 8 Jun 2008 13:51:43 +0000 (8 06:51 -0700)
treeb2f835492ba19faeb45c74273a737d72f0fcb9fb
parent1500b1f5e0646f6d0201f5211de3e17afd4d77b5
Create a Language::Befunge::Storage base class, with some generic methods

which don't change between any of the generic class implementations,
and which call lowlevel accessor methods, rather than poking in the
storage internals directly.

This module now provides basic implementations of 8 such methods:

store
store_binary
get_char
rectangle
min
max
labels_lookup
_labels_try
Changes
lib/Language/Befunge/Storage.pm [copied from lib/Language/Befunge/Storage/Generic/AoA.pm with 51% similarity]
lib/Language/Befunge/Storage/Generic/AoA.pm
lib/Language/Befunge/Storage/Generic/Vec.pm