Created
December 1, 2018 19:39
-
-
Save ADCDS/8ab14c9ea77f075a87e9df8dc8af9011 to your computer and use it in GitHub Desktop.
This file contains 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
input: '<()()(' | |
blank: ' ' | |
start state: start | |
table: | |
start: | |
<: {write: <, R: A} | |
A: | |
X: {write: X, R: A} | |
(: {write: (, R: A} | |
): {write: X, L: B} | |
' ': {write: ' ', L: C} | |
B: | |
X: {write: X, L: B} | |
(: {write: X, R: A} | |
C: | |
X: {write: X, L: C} | |
<: {write: <, R: accept} | |
accept: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment