We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Turing machine++

From Esolang
Jump to navigation Jump to search

User:Fabiot, the creator of Cubik, presents: Turing Machine++!

I know that this is obiously Turing complete. But lets see the:

Commands!!!

(Yeah, i maked a reference to Cubik)

There's 3 types of commands:

  • The program unique command
  • The inside definitions commands
  • The definitions commands

There's all of them:

Definition commands
Command Arguments What it does
_def: Write a sentence after of _def, continue with colon Define a letter.
_pro Write a sentence after it Starts executing a sentence. If sentence is not defined, you get an error

To define a sentence, start by writing the _def sentence here. Then, with identation, write a 1, 0 or N. If it's the first the value the pointer its looking, execute, if not, jump to the sentence it needs to be down. These commands are the ones for making the intermediate of the definitions of the sentence:

Inside definition commands
Commands What they do
R Move pointer to right
L Move pointer to left
E Erase the cell the pointer is looking
W Writes in the pointer looking value the 1 or 0 after it. If it's not N, get an error
I Input 1 or 0 and write it
O Output what the pointer is looking
H Halts

And no, no official interpreter like Cubik.