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.
67 model
Jump to navigation
Jump to search
67 model is a computational model that was created by User:VP3NEG that has 3 commands: 6, 7 and " ", the whitespace. The user inputs a string of 6s and 7s, which we will call the datastream. The datastream is interpreted as a queue. There is an accumulator too, which starts out at 6. As the code contains no loops, the entire code is in an implicit forever loop.
| Command | Function |
|---|---|
| 6 | Deletes the leftmost digit of the datastream |
| 7 | if the leftmost digit of the datastream is a 6, appends the digit in the accumulator to the right end of the datastream |
| " " | If the accumulator contains 6, writes 7 to the accumulator, else writes 6 to the accumulator |
Computational Class
The 67 model is Turing-complete as it can simulate Bitwise Cyclic Tag, which is turing complete.
| BCT | 67 model |
|---|---|
0 |
6
|
10 |
[SPACE]7[SPACE]
|
11 |
7
|