{"action":"created","issue":{"url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/377","repository_url":"https://api.github.com/repos/kaitai-io/kaitai_struct","labels_url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/377/comments","events_url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/377/events","html_url":"https://github.com/kaitai-io/kaitai_struct/issues/377","id":304473850,"number":377,"title":"Construct export tool (a compiler target)","user":{"login":"arekbulski","id":5385838,"avatar_url":"https://avatars2.githubusercontent.com/u/5385838?v=4","gravatar_id":"","url":"https://api.github.com/users/arekbulski","html_url":"https://github.com/arekbulski","followers_url":"https://api.github.com/users/arekbulski/followers","following_url":"https://api.github.com/users/arekbulski/following{/other_user}","gists_url":"https://api.github.com/users/arekbulski/gists{/gist_id}","starred_url":"https://api.github.com/users/arekbulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekbulski/subscriptions","organizations_url":"https://api.github.com/users/arekbulski/orgs","repos_url":"https://api.github.com/users/arekbulski/repos","events_url":"https://api.github.com/users/arekbulski/events{/privacy}","received_events_url":"https://api.github.com/users/arekbulski/received_events","type":"User","site_admin":false},"labels":[{"id":622340261,"url":"https://api.github.com/repos/kaitai-io/kaitai_struct/labels/new%20language%20support","name":"new language support","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"arekbulski","id":5385838,"avatar_url":"https://avatars2.githubusercontent.com/u/5385838?v=4","gravatar_id":"","url":"https://api.github.com/users/arekbulski","html_url":"https://github.com/arekbulski","followers_url":"https://api.github.com/users/arekbulski/followers","following_url":"https://api.github.com/users/arekbulski/following{/other_user}","gists_url":"https://api.github.com/users/arekbulski/gists{/gist_id}","starred_url":"https://api.github.com/users/arekbulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekbulski/subscriptions","organizations_url":"https://api.github.com/users/arekbulski/orgs","repos_url":"https://api.github.com/users/arekbulski/repos","events_url":"https://api.github.com/users/arekbulski/events{/privacy}","received_events_url":"https://api.github.com/users/arekbulski/received_events","type":"User","site_admin":false},"assignees":[{"login":"arekbulski","id":5385838,"avatar_url":"https://avatars2.githubusercontent.com/u/5385838?v=4","gravatar_id":"","url":"https://api.github.com/users/arekbulski","html_url":"https://github.com/arekbulski","followers_url":"https://api.github.com/users/arekbulski/followers","following_url":"https://api.github.com/users/arekbulski/following{/other_user}","gists_url":"https://api.github.com/users/arekbulski/gists{/gist_id}","starred_url":"https://api.github.com/users/arekbulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekbulski/subscriptions","organizations_url":"https://api.github.com/users/arekbulski/orgs","repos_url":"https://api.github.com/users/arekbulski/repos","events_url":"https://api.github.com/users/arekbulski/events{/privacy}","received_events_url":"https://api.github.com/users/arekbulski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":87,"created_at":"2018-03-12T17:44:35Z","updated_at":"2018-03-23T14:51:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"After investigating the issue a bit more closely (and I admit that I am far from implementing it...), I came to a conclusion that the Construct->Kaitai tool should be implemented on Construct side, but the Kaitai->Construct export tool should be implemented on your side. I will need some assisstance with it, namely with the compiler since I dont speak Scala at all. I can provide you with examples, what the compiler should spew out, but I probably wont be able to write Scala code for it.\r\n\r\nI foresee one (admittedly huge problem): Construct API is not stable (at least at the moment). This seems to be mostly affecting classes that are brand new, but there were also some changes to classes that existed before I took over the project. If it would take Kaitai a year to ship changes, thats kind of a problem. I suppose the users could use the newest version from GitHub (build the compiler from sources), so that would somewhat mitigate if not solve the issue. \r\n\r\nI attach the map of completion, to be edited later.\r\n![29967916-b8aa5c24-8f21-11e7-891a-47bd8eb827a5](https://user-images.githubusercontent.com/5385838/37299646-2d83edb4-2624-11e8-8e24-59f91a3b7643.png)\r\n"},"comment":{"url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/comments/375690132","html_url":"https://github.com/kaitai-io/kaitai_struct/issues/377#issuecomment-375690132","issue_url":"https://api.github.com/repos/kaitai-io/kaitai_struct/issues/377","id":375690132,"user":{"login":"GreyCat","id":157154,"avatar_url":"https://avatars0.githubusercontent.com/u/157154?v=4","gravatar_id":"","url":"https://api.github.com/users/GreyCat","html_url":"https://github.com/GreyCat","followers_url":"https://api.github.com/users/GreyCat/followers","following_url":"https://api.github.com/users/GreyCat/following{/other_user}","gists_url":"https://api.github.com/users/GreyCat/gists{/gist_id}","starred_url":"https://api.github.com/users/GreyCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreyCat/subscriptions","organizations_url":"https://api.github.com/users/GreyCat/orgs","repos_url":"https://api.github.com/users/GreyCat/repos","events_url":"https://api.github.com/users/GreyCat/events{/privacy}","received_events_url":"https://api.github.com/users/GreyCat/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T14:51:27Z","updated_at":"2018-03-23T14:51:27Z","author_association":"OWNER","body":"Ok, I've figured it out: I just needed a newer Construct that has `.parse_file(...)`. The one shipped in Debian (2.8.16-0.2) does not support it. So, here we go, we have a `run-construct` in the tests now."}}
{"actor":{"display_login":"GreyCat"}}