{"action":"created","issue":{"url":"https://api.github.com/repos/inducer/loopy/issues/49","repository_url":"https://api.github.com/repos/inducer/loopy","labels_url":"https://api.github.com/repos/inducer/loopy/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/inducer/loopy/issues/49/comments","events_url":"https://api.github.com/repos/inducer/loopy/issues/49/events","html_url":"https://github.com/inducer/loopy/issues/49","id":188022423,"number":49,"title":"Allow additional arguments in ExpressionToCExpressionMapper mapper methods","user":{"login":"dokempf","id":4989908,"avatar_url":"https://avatars.githubusercontent.com/u/4989908?v=3","gravatar_id":"","url":"https://api.github.com/users/dokempf","html_url":"https://github.com/dokempf","followers_url":"https://api.github.com/users/dokempf/followers","following_url":"https://api.github.com/users/dokempf/following{/other_user}","gists_url":"https://api.github.com/users/dokempf/gists{/gist_id}","starred_url":"https://api.github.com/users/dokempf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokempf/subscriptions","organizations_url":"https://api.github.com/users/dokempf/orgs","repos_url":"https://api.github.com/users/dokempf/repos","events_url":"https://api.github.com/users/dokempf/events{/privacy}","received_events_url":"https://api.github.com/users/dokempf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-08T15:31:30Z","updated_at":"2016-11-09T14:28:59Z","closed_at":"2016-11-09T14:28:59Z","body":"Problem: I need to generate different code for lhs/rhs expressions, as I am implementing a backend that has different access methods for vector entries for writing/reading.\r\n\r\nSolution: Pass a flag to the mapper method (Subscript, here), whether this lhs or rhs code is needed.\r\nThis can only be implemented by having all mapper methods pass around `**kwargs` through recursion.\r\n\r\nIf you agree and do not see a better solution, I will implement this."},"comment":{"url":"https://api.github.com/repos/inducer/loopy/issues/comments/259427031","html_url":"https://github.com/inducer/loopy/issues/49#issuecomment-259427031","issue_url":"https://api.github.com/repos/inducer/loopy/issues/49","id":259427031,"user":{"login":"dokempf","id":4989908,"avatar_url":"https://avatars.githubusercontent.com/u/4989908?v=3","gravatar_id":"","url":"https://api.github.com/users/dokempf","html_url":"https://github.com/dokempf","followers_url":"https://api.github.com/users/dokempf/followers","following_url":"https://api.github.com/users/dokempf/following{/other_user}","gists_url":"https://api.github.com/users/dokempf/gists{/gist_id}","starred_url":"https://api.github.com/users/dokempf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokempf/subscriptions","organizations_url":"https://api.github.com/users/dokempf/orgs","repos_url":"https://api.github.com/users/dokempf/repos","events_url":"https://api.github.com/users/dokempf/events{/privacy}","received_events_url":"https://api.github.com/users/dokempf/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T14:28:59Z","updated_at":"2016-11-09T14:28:59Z","body":"Once I start overriding functions like `generate_assignment_instruction_code` I will soon end up with having all loopy copied... Actually, there are several more problems with passing around information for the original problem. I will think about a proper non-invasive proposal and close this for now."}}
{"actor":{"display_login":"dokempf"}}