{"action":"opened","issue":{"url":"https://api.github.com/repos/fsantanna/ceu/issues/53","repository_url":"https://api.github.com/repos/fsantanna/ceu","labels_url":"https://api.github.com/repos/fsantanna/ceu/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/fsantanna/ceu/issues/53/comments","events_url":"https://api.github.com/repos/fsantanna/ceu/issues/53/events","html_url":"https://github.com/fsantanna/ceu/issues/53","id":140137395,"number":53,"title":"Injecting organisms into Céu requests","user":{"login":"mterber","id":13783234,"avatar_url":"https://avatars.githubusercontent.com/u/13783234?v=3","gravatar_id":"","url":"https://api.github.com/users/mterber","html_url":"https://github.com/mterber","followers_url":"https://api.github.com/users/mterber/followers","following_url":"https://api.github.com/users/mterber/following{/other_user}","gists_url":"https://api.github.com/users/mterber/gists{/gist_id}","starred_url":"https://api.github.com/users/mterber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mterber/subscriptions","organizations_url":"https://api.github.com/users/mterber/orgs","repos_url":"https://api.github.com/users/mterber/repos","events_url":"https://api.github.com/users/mterber/events{/privacy}","received_events_url":"https://api.github.com/users/mterber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T09:39:29Z","updated_at":"2016-03-11T09:39:29Z","closed_at":null,"body":"With respect to the following post https://groups.google.com/forum/#!topic/ceu-lang/26ZdjnvEbuI it would be a nice feature to have an interface for Céu's request organisms to avoid using the Global interface. This way e.g. organisms could be easily injected into every anonymously spawned organism for request handling. \r\n\r\nMaybe like in the following example:\r\n<pre><code>\r\nclass Test with\r\n  var u8 k;\r\ndo\r\n<...>\r\nend\r\n\r\nvar Test t_outer with\r\n  this.k = 5;\r\nend;\r\n\r\ninput/output [10] (void)=>void RESOURCE with\r\n  var Test& t_inner = &t_outer;\r\ndo\r\n  t_inner.k = 13; // would like to be able to access t here\r\nend\r\n</code></pre>\r\n"}}