{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/68","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/68/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/68/events","html_url":"https://github.com/m-labs/artiq/issues/68","id":94256222,"number":68,"title":"Support RPCs from core device with constant strings as arguments","user":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/m-labs/artiq/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-07-10T09:03:53Z","updated_at":"2015-08-09T17:41:10Z","closed_at":"2015-08-09T17:41:10Z","body":"Even though the compiler may not support strings, it is desirable to support RPC calls with constant strings in the arguments, so that the upcoming parameter database API can be used directly from the core device (e.g. ``self.set_parameter(\"parameter_name\", value)``).\r\n\r\nThis can be implemented in the current transforms system by replacing RPC calls containing string arguments with closures that do not take those arguments and inject the strings.\r\n"},"comment":{"url":"https://api.github.com/repos/m-labs/artiq/issues/comments/129221326","html_url":"https://github.com/m-labs/artiq/issues/68#issuecomment-129221326","issue_url":"https://api.github.com/repos/m-labs/artiq/issues/68","id":129221326,"user":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T17:41:10Z","updated_at":"2015-08-09T17:41:10Z","body":"Done in new-py2llvm by passing strings over the wire directly."}}