Created
June 18, 2021 21:43
-
-
Save connorjclark/5d458e9ec1160cecf5ef2a780c1f9a79 to your computer and use it in GitHub Desktop.
cfg twitter fun
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
http://ivanzuzak.info/noam/webapps/fsm2regex/ | |
result: | |
r(u(l(d(rd)*l)*u)*r)*u(l(d(rd)*l)*u)*l(d(rd)*l)*(d+d(rd)*($+rd)) |
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
#states | |
s1 | |
s2 | |
s3 | |
s4 | |
s5 | |
s6 | |
#initial | |
s1 | |
#accepting | |
s5 | |
#alphabet | |
r | |
l | |
u | |
d | |
#transitions | |
s1:r>s2 | |
s2:u>s3 | |
s3:r>s2 | |
s3:l>s4 | |
s4:u>s3 | |
s4:d>s5 | |
s5:r>s6 | |
s5:l>s4 | |
s6:d>s5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment