{"action":"created","comment":{"url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/comments/77335690","id":77335690,"diff_hunk":"@@ -435,24 +435,27 @@ class Symbol(Expr):\n     * 1: array\n     * 2: matrix, etc.\n \n-    :param tuple rank: entries represent the iteration variables the symbol\n+    :param symbol: the Symbol name.\n+    :param rank: entries represent the iteration variables the symbol\n         depends on, or explicit numbers representing the entry of a tensor the\n         symbol is accessing, or the size of the tensor itself.\n-    :param list offset: an iterator of 2-tuple (period, stride), one 2-tuple for\n+    :param offset: an iterator of 2-tuple (period, stride), one 2-tuple for\n         each entry in rank. The period is the multiplier of the rank, while\n         stride is a quantity summed to the rank. E.g., if rank=(i, j) and\n         offset=((1, 0), (3, 2)), printing a symbol 'a' returns the string\n         a[i][3*j + 2].\n+    :param operator: an optional C operator to be applied (e.g., *, &).\n     \"\"\"\n \n-    def __init__(self, symbol, rank=(), offset=()):\n+    def __init__(self, symbol, rank=(), offset=(), operator=None):\n         super(Symbol, self).__init__([])\n         self.symbol = symbol\n         self.rank = rank\n         self.offset = offset or tuple([(1, 0) for r in rank])\n+        self.operator = operator\n \n     def operands(self):\n-        return [self.symbol, self.rank, self.offset], {}\n+        return [self.symbol, self.rank, self.offset, self.operator], {}","path":"coffee/base.py","position":28,"original_position":28,"commit_id":"4416718ccbd25cef87bf3f2bb8efc212fa2127ba","original_commit_id":"4416718ccbd25cef87bf3f2bb8efc212fa2127ba","user":{"login":"wence-","id":1126981,"avatar_url":"https://avatars.githubusercontent.com/u/1126981?v=3","gravatar_id":"","url":"https://api.github.com/users/wence-","html_url":"https://github.com/wence-","followers_url":"https://api.github.com/users/wence-/followers","following_url":"https://api.github.com/users/wence-/following{/other_user}","gists_url":"https://api.github.com/users/wence-/gists{/gist_id}","starred_url":"https://api.github.com/users/wence-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wence-/subscriptions","organizations_url":"https://api.github.com/users/wence-/orgs","repos_url":"https://api.github.com/users/wence-/repos","events_url":"https://api.github.com/users/wence-/events{/privacy}","received_events_url":"https://api.github.com/users/wence-/received_events","type":"User","site_admin":false},"body":"Sure, I'm happy to just extend the hierarchy for now.","created_at":"2016-09-02T12:09:20Z","updated_at":"2016-09-02T12:09:20Z","html_url":"https://github.com/coneoproject/COFFEE/pull/90#discussion_r77335690","pull_request_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/comments/77335690"},"html":{"href":"https://github.com/coneoproject/COFFEE/pull/90#discussion_r77335690"},"pull_request":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90","id":83476927,"html_url":"https://github.com/coneoproject/COFFEE/pull/90","diff_url":"https://github.com/coneoproject/COFFEE/pull/90.diff","patch_url":"https://github.com/coneoproject/COFFEE/pull/90.patch","issue_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/90","number":90,"state":"open","locked":false,"title":"Fix utils makealias","user":{"login":"FabioLuporini","id":478143,"avatar_url":"https://avatars.githubusercontent.com/u/478143?v=3","gravatar_id":"","url":"https://api.github.com/users/FabioLuporini","html_url":"https://github.com/FabioLuporini","followers_url":"https://api.github.com/users/FabioLuporini/followers","following_url":"https://api.github.com/users/FabioLuporini/following{/other_user}","gists_url":"https://api.github.com/users/FabioLuporini/gists{/gist_id}","starred_url":"https://api.github.com/users/FabioLuporini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabioLuporini/subscriptions","organizations_url":"https://api.github.com/users/FabioLuporini/orgs","repos_url":"https://api.github.com/users/FabioLuporini/repos","events_url":"https://api.github.com/users/FabioLuporini/events{/privacy}","received_events_url":"https://api.github.com/users/FabioLuporini/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-31T15:38:00Z","updated_at":"2016-09-02T12:09:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3877cbbb936ec4b6bdac948375ee27cc93e0e0d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90/commits","review_comments_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90/comments","review_comment_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/90/comments","statuses_url":"https://api.github.com/repos/coneoproject/COFFEE/statuses/4416718ccbd25cef87bf3f2bb8efc212fa2127ba","head":{"label":"coneoproject:fix-utils-makealias","ref":"fix-utils-makealias","sha":"4416718ccbd25cef87bf3f2bb8efc212fa2127ba","user":{"login":"coneoproject","id":9364692,"avatar_url":"https://avatars.githubusercontent.com/u/9364692?v=3","gravatar_id":"","url":"https://api.github.com/users/coneoproject","html_url":"https://github.com/coneoproject","followers_url":"https://api.github.com/users/coneoproject/followers","following_url":"https://api.github.com/users/coneoproject/following{/other_user}","gists_url":"https://api.github.com/users/coneoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coneoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coneoproject/subscriptions","organizations_url":"https://api.github.com/users/coneoproject/orgs","repos_url":"https://api.github.com/users/coneoproject/repos","events_url":"https://api.github.com/users/coneoproject/events{/privacy}","received_events_url":"https://api.github.com/users/coneoproject/received_events","type":"Organization","site_admin":false},"repo":{"id":24500594,"name":"COFFEE","full_name":"coneoproject/COFFEE","owner":{"login":"coneoproject","id":9364692,"avatar_url":"https://avatars.githubusercontent.com/u/9364692?v=3","gravatar_id":"","url":"https://api.github.com/users/coneoproject","html_url":"https://github.com/coneoproject","followers_url":"https://api.github.com/users/coneoproject/followers","following_url":"https://api.github.com/users/coneoproject/following{/other_user}","gists_url":"https://api.github.com/users/coneoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coneoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coneoproject/subscriptions","organizations_url":"https://api.github.com/users/coneoproject/orgs","repos_url":"https://api.github.com/users/coneoproject/repos","events_url":"https://api.github.com/users/coneoproject/events{/privacy}","received_events_url":"https://api.github.com/users/coneoproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coneoproject/COFFEE","description":"COFFEE - A COmpiler For Fast Expression Evaluation","fork":false,"url":"https://api.github.com/repos/coneoproject/COFFEE","forks_url":"https://api.github.com/repos/coneoproject/COFFEE/forks","keys_url":"https://api.github.com/repos/coneoproject/COFFEE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coneoproject/COFFEE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coneoproject/COFFEE/teams","hooks_url":"https://api.github.com/repos/coneoproject/COFFEE/hooks","issue_events_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/events{/number}","events_url":"https://api.github.com/repos/coneoproject/COFFEE/events","assignees_url":"https://api.github.com/repos/coneoproject/COFFEE/assignees{/user}","branches_url":"https://api.github.com/repos/coneoproject/COFFEE/branches{/branch}","tags_url":"https://api.github.com/repos/coneoproject/COFFEE/tags","blobs_url":"https://api.github.com/repos/coneoproject/COFFEE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coneoproject/COFFEE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coneoproject/COFFEE/git/refs{/sha}","trees_url":"https://api.github.com/repos/coneoproject/COFFEE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coneoproject/COFFEE/statuses/{sha}","languages_url":"https://api.github.com/repos/coneoproject/COFFEE/languages","stargazers_url":"https://api.github.com/repos/coneoproject/COFFEE/stargazers","contributors_url":"https://api.github.com/repos/coneoproject/COFFEE/contributors","subscribers_url":"https://api.github.com/repos/coneoproject/COFFEE/subscribers","subscription_url":"https://api.github.com/repos/coneoproject/COFFEE/subscription","commits_url":"https://api.github.com/repos/coneoproject/COFFEE/commits{/sha}","git_commits_url":"https://api.github.com/repos/coneoproject/COFFEE/git/commits{/sha}","comments_url":"https://api.github.com/repos/coneoproject/COFFEE/comments{/number}","issue_comment_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/comments{/number}","contents_url":"https://api.github.com/repos/coneoproject/COFFEE/contents/{+path}","compare_url":"https://api.github.com/repos/coneoproject/COFFEE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coneoproject/COFFEE/merges","archive_url":"https://api.github.com/repos/coneoproject/COFFEE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coneoproject/COFFEE/downloads","issues_url":"https://api.github.com/repos/coneoproject/COFFEE/issues{/number}","pulls_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls{/number}","milestones_url":"https://api.github.com/repos/coneoproject/COFFEE/milestones{/number}","notifications_url":"https://api.github.com/repos/coneoproject/COFFEE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coneoproject/COFFEE/labels{/name}","releases_url":"https://api.github.com/repos/coneoproject/COFFEE/releases{/id}","deployments_url":"https://api.github.com/repos/coneoproject/COFFEE/deployments","created_at":"2014-09-26T13:31:05Z","updated_at":"2016-05-02T20:44:54Z","pushed_at":"2016-08-31T15:38:00Z","git_url":"git://github.com/coneoproject/COFFEE.git","ssh_url":"git@github.com:coneoproject/COFFEE.git","clone_url":"https://github.com/coneoproject/COFFEE.git","svn_url":"https://github.com/coneoproject/COFFEE","homepage":"","size":1398,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"coneoproject:master","ref":"master","sha":"d687c666b4678abc76f4dedb9e37e2e48c7d691e","user":{"login":"coneoproject","id":9364692,"avatar_url":"https://avatars.githubusercontent.com/u/9364692?v=3","gravatar_id":"","url":"https://api.github.com/users/coneoproject","html_url":"https://github.com/coneoproject","followers_url":"https://api.github.com/users/coneoproject/followers","following_url":"https://api.github.com/users/coneoproject/following{/other_user}","gists_url":"https://api.github.com/users/coneoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coneoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coneoproject/subscriptions","organizations_url":"https://api.github.com/users/coneoproject/orgs","repos_url":"https://api.github.com/users/coneoproject/repos","events_url":"https://api.github.com/users/coneoproject/events{/privacy}","received_events_url":"https://api.github.com/users/coneoproject/received_events","type":"Organization","site_admin":false},"repo":{"id":24500594,"name":"COFFEE","full_name":"coneoproject/COFFEE","owner":{"login":"coneoproject","id":9364692,"avatar_url":"https://avatars.githubusercontent.com/u/9364692?v=3","gravatar_id":"","url":"https://api.github.com/users/coneoproject","html_url":"https://github.com/coneoproject","followers_url":"https://api.github.com/users/coneoproject/followers","following_url":"https://api.github.com/users/coneoproject/following{/other_user}","gists_url":"https://api.github.com/users/coneoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coneoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coneoproject/subscriptions","organizations_url":"https://api.github.com/users/coneoproject/orgs","repos_url":"https://api.github.com/users/coneoproject/repos","events_url":"https://api.github.com/users/coneoproject/events{/privacy}","received_events_url":"https://api.github.com/users/coneoproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coneoproject/COFFEE","description":"COFFEE - A COmpiler For Fast Expression Evaluation","fork":false,"url":"https://api.github.com/repos/coneoproject/COFFEE","forks_url":"https://api.github.com/repos/coneoproject/COFFEE/forks","keys_url":"https://api.github.com/repos/coneoproject/COFFEE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coneoproject/COFFEE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coneoproject/COFFEE/teams","hooks_url":"https://api.github.com/repos/coneoproject/COFFEE/hooks","issue_events_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/events{/number}","events_url":"https://api.github.com/repos/coneoproject/COFFEE/events","assignees_url":"https://api.github.com/repos/coneoproject/COFFEE/assignees{/user}","branches_url":"https://api.github.com/repos/coneoproject/COFFEE/branches{/branch}","tags_url":"https://api.github.com/repos/coneoproject/COFFEE/tags","blobs_url":"https://api.github.com/repos/coneoproject/COFFEE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coneoproject/COFFEE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coneoproject/COFFEE/git/refs{/sha}","trees_url":"https://api.github.com/repos/coneoproject/COFFEE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coneoproject/COFFEE/statuses/{sha}","languages_url":"https://api.github.com/repos/coneoproject/COFFEE/languages","stargazers_url":"https://api.github.com/repos/coneoproject/COFFEE/stargazers","contributors_url":"https://api.github.com/repos/coneoproject/COFFEE/contributors","subscribers_url":"https://api.github.com/repos/coneoproject/COFFEE/subscribers","subscription_url":"https://api.github.com/repos/coneoproject/COFFEE/subscription","commits_url":"https://api.github.com/repos/coneoproject/COFFEE/commits{/sha}","git_commits_url":"https://api.github.com/repos/coneoproject/COFFEE/git/commits{/sha}","comments_url":"https://api.github.com/repos/coneoproject/COFFEE/comments{/number}","issue_comment_url":"https://api.github.com/repos/coneoproject/COFFEE/issues/comments{/number}","contents_url":"https://api.github.com/repos/coneoproject/COFFEE/contents/{+path}","compare_url":"https://api.github.com/repos/coneoproject/COFFEE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coneoproject/COFFEE/merges","archive_url":"https://api.github.com/repos/coneoproject/COFFEE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coneoproject/COFFEE/downloads","issues_url":"https://api.github.com/repos/coneoproject/COFFEE/issues{/number}","pulls_url":"https://api.github.com/repos/coneoproject/COFFEE/pulls{/number}","milestones_url":"https://api.github.com/repos/coneoproject/COFFEE/milestones{/number}","notifications_url":"https://api.github.com/repos/coneoproject/COFFEE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coneoproject/COFFEE/labels{/name}","releases_url":"https://api.github.com/repos/coneoproject/COFFEE/releases{/id}","deployments_url":"https://api.github.com/repos/coneoproject/COFFEE/deployments","created_at":"2014-09-26T13:31:05Z","updated_at":"2016-05-02T20:44:54Z","pushed_at":"2016-08-31T15:38:00Z","git_url":"git://github.com/coneoproject/COFFEE.git","ssh_url":"git@github.com:coneoproject/COFFEE.git","clone_url":"https://github.com/coneoproject/COFFEE.git","svn_url":"https://github.com/coneoproject/COFFEE","homepage":"","size":1398,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90"},"html":{"href":"https://github.com/coneoproject/COFFEE/pull/90"},"issue":{"href":"https://api.github.com/repos/coneoproject/COFFEE/issues/90"},"comments":{"href":"https://api.github.com/repos/coneoproject/COFFEE/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coneoproject/COFFEE/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/coneoproject/COFFEE/statuses/4416718ccbd25cef87bf3f2bb8efc212fa2127ba"}}}}
{"actor":{"display_login":"wence-"}}