Skip to content

Instantly share code, notes, and snippets.

@hoehrmann
Created November 10, 2013 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoehrmann/7404056 to your computer and use it in GitHub Desktop.
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.
{
"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