User talk:DavidKendal/Unindexed

From Esolang
Jump to navigation Jump to search

Turing Complete

I don't see how it's Turing complete with no loop or conditionals. Maybe if there was a way to write the value of the instruction pointer's current value on a card and then have a goto command that takes a number to set the ip. You may be able to use come kind of calculation to do a conditional goto.

example of a counting program

new
0
index 1

new
writeip
index 2

new
#1 + 1
index 1
show

goto #2

index 1 is a counter

index 2 is a label


index 1 gets the number 1 added to it

goto sets the ip to the value on index 2, looping the program

--Orange 16:33, 26 July 2009 (UTC)

Amended accordingly with a slight adaptation of the idea. Thanks! DavidKendal 19:59, 27 July 2009 (UTC)