{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/4805","labels_url":"https://api.github.com/repos/scala/scala/issues/4805/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/4805/comments","events_url":"https://api.github.com/repos/scala/scala/issues/4805/events","html_url":"https://github.com/scala/scala/pull/4805","id":112084123,"number":4805,"title":"SI-7916: ScriptEngine support","user":{"login":"som-snytt","id":369425,"avatar_url":"https://avatars.githubusercontent.com/u/369425?v=3","gravatar_id":"","url":"https://api.github.com/users/som-snytt","html_url":"https://github.com/som-snytt","followers_url":"https://api.github.com/users/som-snytt/followers","following_url":"https://api.github.com/users/som-snytt/following{/other_user}","gists_url":"https://api.github.com/users/som-snytt/gists{/gist_id}","starred_url":"https://api.github.com/users/som-snytt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/som-snytt/subscriptions","organizations_url":"https://api.github.com/users/som-snytt/orgs","repos_url":"https://api.github.com/users/som-snytt/repos","events_url":"https://api.github.com/users/som-snytt/events{/privacy}","received_events_url":"https://api.github.com/users/som-snytt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scala/scala/labels/on-hold","name":"on-hold","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/49","html_url":"https://github.com/scala/scala/milestones/2.11.8","labels_url":"https://api.github.com/repos/scala/scala/milestones/49/labels","id":1169165,"number":49,"title":"2.11.8","description":"Merge to 2.11.x.\r\n","creator":{"login":"SethTisue","id":161079,"avatar_url":"https://avatars.githubusercontent.com/u/161079?v=3","gravatar_id":"","url":"https://api.github.com/users/SethTisue","html_url":"https://github.com/SethTisue","followers_url":"https://api.github.com/users/SethTisue/followers","following_url":"https://api.github.com/users/SethTisue/following{/other_user}","gists_url":"https://api.github.com/users/SethTisue/gists{/gist_id}","starred_url":"https://api.github.com/users/SethTisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethTisue/subscriptions","organizations_url":"https://api.github.com/users/SethTisue/orgs","repos_url":"https://api.github.com/users/SethTisue/repos","events_url":"https://api.github.com/users/SethTisue/events{/privacy}","received_events_url":"https://api.github.com/users/SethTisue/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":136,"state":"open","created_at":"2015-06-17T19:08:28Z","updated_at":"2015-10-21T08:14:52Z","due_on":"2015-10-25T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-10-19T06:59:40Z","updated_at":"2015-10-21T10:10:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/4805","html_url":"https://github.com/scala/scala/pull/4805","diff_url":"https://github.com/scala/scala/pull/4805.diff","patch_url":"https://github.com/scala/scala/pull/4805.patch"},"body":"Refactor the ScriptEngine support to an adaptor atop the\r\nIMain API.\r\n\r\nAllow references to resolve to context attributes. (The\r\nattributes must be defined at compilation time, though\r\nthey may resolve to updated values at evaluation time.)\r\n\r\nThis means that attributes are not bound statically in\r\nREPL history. In particular, we forgo the trick of binding\r\nattributes named \"name: Type\" as typed values.\r\n\r\nInstead, an `x` bound in dynamic context is injected into\r\nthe script as a dynamic selection `$ctx.x` where `ctx`\r\nperforms the look-up in the script context.\r\n\r\nWhen a compiled script is re-evaluated, a new instance of\r\nthe script class is created and defined symbols are\r\nrebound."},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/149845697","html_url":"https://github.com/scala/scala/pull/4805#issuecomment-149845697","issue_url":"https://api.github.com/repos/scala/scala/issues/4805","id":149845697,"user":{"login":"lrytz","id":119636,"avatar_url":"https://avatars.githubusercontent.com/u/119636?v=3","gravatar_id":"","url":"https://api.github.com/users/lrytz","html_url":"https://github.com/lrytz","followers_url":"https://api.github.com/users/lrytz/followers","following_url":"https://api.github.com/users/lrytz/following{/other_user}","gists_url":"https://api.github.com/users/lrytz/gists{/gist_id}","starred_url":"https://api.github.com/users/lrytz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrytz/subscriptions","organizations_url":"https://api.github.com/users/lrytz/orgs","repos_url":"https://api.github.com/users/lrytz/repos","events_url":"https://api.github.com/users/lrytz/events{/privacy}","received_events_url":"https://api.github.com/users/lrytz/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T10:10:49Z","updated_at":"2015-10-21T10:10:49Z","body":"@som-snytt IUC the TODOs are not new, they are also TODOs in the current state of things, right?"}}