{"action":"closed","issue":{"url":"https://api.github.com/repos/mill-lang/millc/issues/11","labels_url":"https://api.github.com/repos/mill-lang/millc/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mill-lang/millc/issues/11/comments","events_url":"https://api.github.com/repos/mill-lang/millc/issues/11/events","html_url":"https://github.com/mill-lang/millc/issues/11","id":93022256,"number":11,"title":"Implement parsing of foreign sub declarations","user":{"login":"rightfold","id":5132125,"avatar_url":"https://avatars.githubusercontent.com/u/5132125?v=3","gravatar_id":"","url":"https://api.github.com/users/rightfold","html_url":"https://github.com/rightfold","followers_url":"https://api.github.com/users/rightfold/followers","following_url":"https://api.github.com/users/rightfold/following{/other_user}","gists_url":"https://api.github.com/users/rightfold/gists{/gist_id}","starred_url":"https://api.github.com/users/rightfold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightfold/subscriptions","organizations_url":"https://api.github.com/users/rightfold/orgs","repos_url":"https://api.github.com/users/rightfold/repos","events_url":"https://api.github.com/users/rightfold/events{/privacy}","received_events_url":"https://api.github.com/users/rightfold/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mill-lang/millc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rightfold","id":5132125,"avatar_url":"https://avatars.githubusercontent.com/u/5132125?v=3","gravatar_id":"","url":"https://api.github.com/users/rightfold","html_url":"https://github.com/rightfold","followers_url":"https://api.github.com/users/rightfold/followers","following_url":"https://api.github.com/users/rightfold/following{/other_user}","gists_url":"https://api.github.com/users/rightfold/gists{/gist_id}","starred_url":"https://api.github.com/users/rightfold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightfold/subscriptions","organizations_url":"https://api.github.com/users/rightfold/orgs","repos_url":"https://api.github.com/users/rightfold/repos","events_url":"https://api.github.com/users/rightfold/events{/privacy}","received_events_url":"https://api.github.com/users/rightfold/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-04T15:31:18Z","updated_at":"2015-07-11T08:11:45Z","closed_at":"2015-07-11T08:11:45Z","body":"Syntax:\r\n\r\n    foreign \"./foo.js\" sub ecmascript.returnCall sqrt(n: Float): Float\r\n\r\n`ecmascript.returnCall` is just a `Name` and refers to a calling convention:\r\n\r\n- `ecmascript.returnCall` for JS functions that immediately return.\r\n- `ecmascript.continuationCall` for async functions that take a continuation. The calling thread will be suspended until the continuation is called."}}