mirror of
https://github.com/blackboxprogramming/universal-computer.git
synced 2026-03-17 07:57:27 -05:00
16 lines
360 B
JSON
16 lines
360 B
JSON
{
|
|
"states": ["q0", "q1", "q_even", "q_odd", "q_h"],
|
|
"alphabet": ["1", "E", "O", "_"],
|
|
"blank": "_",
|
|
"transitions": {
|
|
"q0:1": ["q1", "1", "R"],
|
|
"q0:_": ["q_even", "_", "S"],
|
|
"q1:1": ["q0", "1", "R"],
|
|
"q1:_": ["q_odd", "_", "S"],
|
|
"q_even:_": ["q_h", "E", "S"],
|
|
"q_odd:_": ["q_h", "O", "S"]
|
|
},
|
|
"start": "q0",
|
|
"halt": "q_h"
|
|
}
|