mirror of
https://github.com/blackboxprogramming/universal-computer.git
synced 2026-03-17 07:57:27 -05:00
19 lines
475 B
JSON
19 lines
475 B
JSON
{
|
|
"states": ["right", "carry", "done", "halt"],
|
|
"alphabet": ["0", "1", "_"],
|
|
"blank": "_",
|
|
"start": "right",
|
|
"halt": "halt",
|
|
"transitions": {
|
|
"right:0": ["right", "0", "R"],
|
|
"right:1": ["right", "1", "R"],
|
|
"right:_": ["carry", "_", "L"],
|
|
"carry:0": ["done", "1", "L"],
|
|
"carry:1": ["carry", "0", "L"],
|
|
"carry:_": ["done", "1", "S"],
|
|
"done:0": ["done", "0", "L"],
|
|
"done:1": ["done", "1", "L"],
|
|
"done:_": ["halt", "_", "R"]
|
|
}
|
|
}
|