OFC
Jump to navigation
Jump to search
One Function Code is a one-instruction attempted turing-tarpit invented by User:A. Its only command is:
[x]=content of register x if(r,a,b) If[#r]==0,goto line a.Else,flip[#r] and goto line b.
Computational Class
OFC has only finitely many bits of memory, which can only be set from 1 to 0 (a 0 bit cannot be flipped to 1). As such, if memory is initialised to all-zeroes, it devolves into a sequence of goto statements; and even if memory is allowed to be initialised differently, there's a finite cap on how long any given program can run.