0134

From Esolang
Jump to navigation Jump to search

0134 is a esolang with 9 commands, created by User:Yayimhere

syntax

0134 has these 9 commands:

  • 1 flip the end of the code(so 0 <-> 1, 6 <-> 4, 7 <-> 0, 5 <-> 2, 3 <-> 0)
  • 0 add the following command to the end of the code(and skip it)
  • 2 reverse the line below
  • 3 skip the following command
  • 4 if the command before the 4 is equal to the start of the line below it will run the command after, else it will skip it
  • 5 delete the end of the line below
  • 6 add a newline to the end of the program
  • 7 skip the line below when the IP gets to the end of the current line
  • 22 go back to the start of line if there is not a empty line below. else do nothing

all commands are to be separated between commands

computational class

0134 is Turing-complete since it can simulate a BCT through the following:
the program must be formatted as follows:

program 22 7
memory

and the commands are replaced like this:

11 -> 3 1 4 0 1
10 -> 3 1 4 0 0
0 -> 2 5 2