{"action":"created","issue":{"url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/9","labels_url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/9/comments","events_url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/9/events","html_url":"https://github.com/AlexandreDecan/sismic/issues/9","id":125229073,"number":9,"title":"Provide a simple Python example, with GUI, using a sismic interpreter as backend","user":{"login":"tommens","id":8276015,"avatar_url":"https://avatars.githubusercontent.com/u/8276015?v=3","gravatar_id":"","url":"https://api.github.com/users/tommens","html_url":"https://github.com/tommens","followers_url":"https://api.github.com/users/tommens/followers","following_url":"https://api.github.com/users/tommens/following{/other_user}","gists_url":"https://api.github.com/users/tommens/gists{/gist_id}","starred_url":"https://api.github.com/users/tommens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommens/subscriptions","organizations_url":"https://api.github.com/users/tommens/orgs","repos_url":"https://api.github.com/users/tommens/repos","events_url":"https://api.github.com/users/tommens/events{/privacy}","received_events_url":"https://api.github.com/users/tommens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AlexandreDecan/sismic/labels/documentation","name":"documentation","color":"009800"},{"url":"https://api.github.com/repos/AlexandreDecan/sismic/labels/feature%20request","name":"feature request","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T18:00:03Z","updated_at":"2016-01-07T12:29:29Z","closed_at":null,"body":"To illustrate the use of sismic, I would suggest to add (in the docs, or as a tutorial) something similar in spirit to what can be found here for SCXML:\r\nhttps://commons.apache.org/proper/commons-scxml/usecases/scxml-stopwatch.html\r\n\r\nThe idea is to show a very simple example of a GUI in Python (with some button that trigger events), where the \"backend\" is basically simply a statechart that is being interpreted dynamically each time one of the buttons is pressed. (It does not have to be the stopwatch example, it can be any other example, as long as it is simple and illustrative.)\r\n\r\nSuch an example will illustrate to potential users how seismic can be integrated directly in user code, if desired. (Of course, in this example we should also add, as usual, the necessary contracts, and we could also write the necessary tests for it.)\r\n"},"comment":{"url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/comments/169648610","html_url":"https://github.com/AlexandreDecan/sismic/issues/9#issuecomment-169648610","issue_url":"https://api.github.com/repos/AlexandreDecan/sismic/issues/9","id":169648610,"user":{"login":"AlexandreDecan","id":4992216,"avatar_url":"https://avatars.githubusercontent.com/u/4992216?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexandreDecan","html_url":"https://github.com/AlexandreDecan","followers_url":"https://api.github.com/users/AlexandreDecan/followers","following_url":"https://api.github.com/users/AlexandreDecan/following{/other_user}","gists_url":"https://api.github.com/users/AlexandreDecan/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandreDecan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandreDecan/subscriptions","organizations_url":"https://api.github.com/users/AlexandreDecan/orgs","repos_url":"https://api.github.com/users/AlexandreDecan/repos","events_url":"https://api.github.com/users/AlexandreDecan/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandreDecan/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T12:29:29Z","updated_at":"2016-01-07T12:29:29Z","body":"Sorry, I didn't see your message before posting mine. As you will see, my stopwatch is more like yours than commons-scxml's one.  "}}