arXiv · 0810.1151
Periodic Single-Pass Instruction Sequences
Abstract
A program is a finite piece of data that produces a (possibly infinite) sequence of primitive instructions. From scratch we develop a linear notation for sequential, imperative programs, using a familiar class of primitive instructions and so-called repeat instructions, a particular type of control instructions. The resulting mathematical structure is a semigroup. We relate this set of programs to program algebra (PGA) and show that a particular subsemigroup is a carrier for PGA by providing axioms for single-pass congruence, structural congruence, and thread extraction. This subsemigroup characterizes periodic single-pass instruction sequences and provides a direct basis for PGA's toolset.
Explore related subjects
Keep this discovery
Jan A. Bergstra, Alban Ponse. 2008-10-07. Periodic Single-Pass Instruction Sequences. https://arxiv.org/abs/0810.1151
Cite the original work for its findings. Save a collection to share your selection of sources.