):

From Esolang
Jump to navigation Jump to search

): is Notf but it can modify its own interpreter.

changes

there a single new command: (symbol;body). what this does is it makes symbol a command. what this command that has created does, is that it will execute the code body

computational class

): is turing complete since it can simulate a Bitwise Cyclic Tag:

(0;:2:\1e1e1+\1)
(2;:2:\1e1|e+\1)
(>;:2:e3^0)
(<;:2:e3^2)
(v;?2)
D
E
>>7

this makes these commands:

): | BCT
> <-> 10
< <-> 11
v <-> 0

you need to replace the E with the ): BCT code and the D with the datastring(replace each one in the datastring with 2). so the Collatz sequence program is:

(0;:2:\1e1e1+\1)
(2;:2:\1e1|e+\1)
(>;:2:e3^0)
(<;:2:e3^2)
(v;?2)
200
><>>><v<>>v<>><>><>>vvvv
>>72

the number of times 200 is repeated is the collatz input

see also