{"action":"created","issue":{"url":"https://api.github.com/repos/marekjm/wudoovm/issues/28","labels_url":"https://api.github.com/repos/marekjm/wudoovm/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/marekjm/wudoovm/issues/28/comments","events_url":"https://api.github.com/repos/marekjm/wudoovm/issues/28/events","html_url":"https://github.com/marekjm/wudoovm/issues/28","id":56921440,"number":28,"title":"Assembler should always generate entry function","user":{"login":"marekjm","id":2565699,"avatar_url":"https://avatars.githubusercontent.com/u/2565699?v=3","gravatar_id":"","url":"https://api.github.com/users/marekjm","html_url":"https://github.com/marekjm","followers_url":"https://api.github.com/users/marekjm/followers","following_url":"https://api.github.com/users/marekjm/following{/other_user}","gists_url":"https://api.github.com/users/marekjm/gists{/gist_id}","starred_url":"https://api.github.com/users/marekjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekjm/subscriptions","organizations_url":"https://api.github.com/users/marekjm/orgs","repos_url":"https://api.github.com/users/marekjm/repos","events_url":"https://api.github.com/users/marekjm/events{/privacy}","received_events_url":"https://api.github.com/users/marekjm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekjm/wudoovm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"marekjm","id":2565699,"avatar_url":"https://avatars.githubusercontent.com/u/2565699?v=3","gravatar_id":"","url":"https://api.github.com/users/marekjm","html_url":"https://github.com/marekjm","followers_url":"https://api.github.com/users/marekjm/followers","following_url":"https://api.github.com/users/marekjm/following{/other_user}","gists_url":"https://api.github.com/users/marekjm/gists{/gist_id}","starred_url":"https://api.github.com/users/marekjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekjm/subscriptions","organizations_url":"https://api.github.com/users/marekjm/orgs","repos_url":"https://api.github.com/users/marekjm/repos","events_url":"https://api.github.com/users/marekjm/events{/privacy}","received_events_url":"https://api.github.com/users/marekjm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marekjm/wudoovm/milestones/3","labels_url":"https://api.github.com/repos/marekjm/wudoovm/milestones/3/labels","id":957168,"number":3,"title":"Release 0.4","description":"","creator":{"login":"marekjm","id":2565699,"avatar_url":"https://avatars.githubusercontent.com/u/2565699?v=3","gravatar_id":"","url":"https://api.github.com/users/marekjm","html_url":"https://github.com/marekjm","followers_url":"https://api.github.com/users/marekjm/followers","following_url":"https://api.github.com/users/marekjm/following{/other_user}","gists_url":"https://api.github.com/users/marekjm/gists{/gist_id}","starred_url":"https://api.github.com/users/marekjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekjm/subscriptions","organizations_url":"https://api.github.com/users/marekjm/orgs","repos_url":"https://api.github.com/users/marekjm/repos","events_url":"https://api.github.com/users/marekjm/events{/privacy}","received_events_url":"https://api.github.com/users/marekjm/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2015-01-29T18:34:27Z","updated_at":"2015-02-08T22:31:05Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-07T18:54:37Z","updated_at":"2015-02-11T19:44:33Z","closed_at":null,"body":"Assembler should always generate entry function.\r\n\r\nAs for version v0.2.4 it is generated (with name `__entry`) only if some outside-of-function instructions are present in code.\r\nOtherwise, `main` (or any other set with asm `.main:` instruction) function is called.\r\n\r\nIf entry is always generated, following things would be possible:\r\n\r\n- global scope not tied to any explicitly defined function (now it sometimes is),\r\n- standard way of initializing global registers,\r\n- better control over return values and easier implementation of them,\r\n- there would be no problems with `end` finishing main function instead of `halt`,"},"comment":{"url":"https://api.github.com/repos/marekjm/wudoovm/issues/comments/73950143","html_url":"https://github.com/marekjm/wudoovm/issues/28#issuecomment-73950143","issue_url":"https://api.github.com/repos/marekjm/wudoovm/issues/28","id":73950143,"user":{"login":"marekjm","id":2565699,"avatar_url":"https://avatars.githubusercontent.com/u/2565699?v=3","gravatar_id":"","url":"https://api.github.com/users/marekjm","html_url":"https://github.com/marekjm","followers_url":"https://api.github.com/users/marekjm/followers","following_url":"https://api.github.com/users/marekjm/following{/other_user}","gists_url":"https://api.github.com/users/marekjm/gists{/gist_id}","starred_url":"https://api.github.com/users/marekjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekjm/subscriptions","organizations_url":"https://api.github.com/users/marekjm/orgs","repos_url":"https://api.github.com/users/marekjm/repos","events_url":"https://api.github.com/users/marekjm/events{/privacy}","received_events_url":"https://api.github.com/users/marekjm/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T19:44:33Z","updated_at":"2015-02-11T19:44:33Z","body":"It's about 50% done. The entry function is always generated."}}