Created
November 10, 2013 21:16
-
-
Save hoehrmann/7404056 to your computer and use it in GitHub Desktop.
Rough sketch for a flexible JSON format to store and exchange state automata.
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
{ | |
"start": "State0", | |
"alphabet": { | |
... | |
}, | |
"symbols": { | |
"aA": { | |
}, | |
}, | |
"states": { | |
"State0": { | |
"matches": "aA", | |
... | |
}, | |
"42": { | |
"matches": null, | |
... | |
}, | |
}, | |
"transitions": [ | |
{ | |
"src": ..., | |
"dst": ..., | |
} | |
], | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment