CC

From Esolang
Jump to navigation Jump to search

CC(Column Changer)is an esolang by User:A based on the Difference machine.

Syntax

It has columns numbered from 0 to 3.The operations are:

  1. Move the value from the next column to the current column.
  2. Move value to the previous column.
  3. Reset the value to its recent value

Steps 1,2,3 occur for every odd column, while steps 3,1,2 occur for every even column.

Execution sequence

It is run in an infinite loop, with the current column pointer moving right forever(in circular sequence).

Computational Class

Try to think of what a Turing machine can do.

  1. Change the value on the current cell.
  2. Move the pointer.
  3. Perform a loop.

Obviously, this language can do all of those things.

Well, it can't be Turing-complete, because it can only do limited addition, and it is in a mechanical sequence, so it is a kind of limited Turing-machine, but not a complete turing-machine.