Skip to content

Instantly share code, notes, and snippets.

@oxbambooxo
Created August 18, 2024 05:37
Show Gist options
  • Save oxbambooxo/1f3f9e33d40c6d364fc18e0f28a74645 to your computer and use it in GitHub Desktop.
Save oxbambooxo/1f3f9e33d40c6d364fc18e0f28a74645 to your computer and use it in GitHub Desktop.
name: bit reversal example
source code: |-
input: ' 001'
blank: ' '
start state: S0
table:
S0:
' ' : {R: S1}
0 : {write: 1, L}
1 : {write: 0, L}
S1:
' ' : {L: SAccept}
0 : {write: 1, R}
1 : {write: 0, R}
SAccept:
positions:
S0: {x: 265.82, y: 202.41}
S1: {x: 409.26, y: 221.7}
SAccept: {x: 557.98, y: 237.08}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment