{"action":"opened","issue":{"url":"https://api.github.com/repos/peterazmanov/enaml/issues/13","labels_url":"https://api.github.com/repos/peterazmanov/enaml/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/peterazmanov/enaml/issues/13/comments","events_url":"https://api.github.com/repos/peterazmanov/enaml/issues/13/events","html_url":"https://github.com/peterazmanov/enaml/issues/13","id":118667362,"number":13,"title":"Update parser: decision regarding grammar","user":{"login":"penenkel","id":7736404,"avatar_url":"https://avatars.githubusercontent.com/u/7736404?v=3","gravatar_id":"","url":"https://api.github.com/users/penenkel","html_url":"https://github.com/penenkel","followers_url":"https://api.github.com/users/penenkel/followers","following_url":"https://api.github.com/users/penenkel/following{/other_user}","gists_url":"https://api.github.com/users/penenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/penenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penenkel/subscriptions","organizations_url":"https://api.github.com/users/penenkel/orgs","repos_url":"https://api.github.com/users/penenkel/repos","events_url":"https://api.github.com/users/penenkel/events{/privacy}","received_events_url":"https://api.github.com/users/penenkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T17:50:46Z","updated_at":"2015-11-24T17:50:46Z","closed_at":null,"body":"The Enaml grammar is designed as an extension of the python grammar and relies on the python compiler to process the pure python portions. This means that the pure python portions of the .enaml files must be parsed into an AST which conforms to the used python version.\r\n\r\nThe question is now, should the Enaml grammar be an extension of the python 2 or the python 3 grammar. Or should it depend on the current python version (which would mean, that .enaml files and perhaps widgets might not be compatible across python versions). An other possibility would be to define a \"special\" python grammar for Enaml. Basically that is what it is atm, as I'm not quite certain how faithfully the python grammar has been replicated by Enaml. \r\n\r\nIn any of the above cases the AST construction has to be modified so that it conforms to the python version which is being used to run the application."}}