Created
January 6, 2023 03:44
-
-
Save mathieugouin/6c9610b8da5dea75cd00b88511b14281 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: inversion | |
source code: |- | |
input: '1010' | |
blank: ' ' | |
start state: read | |
# Testing with https://turingmachine.io/ | |
# opt opt req opt | |
# {write: symbol, move: state} | |
# [' ',0,1] | |
table: | |
read: | |
' ': {R: done} | |
1 : {write: 0, R} | |
0 : {write: 1, R} | |
last: | |
[' ',0,1]: {L: done} | |
done: | |
positions: | |
read: {x: 231.48, y: 182.42} | |
last: {x: 392.83, y: 310.32} | |
done: {x: 570, y: 250} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment