{"action":"created","comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/comments/78841334","id":78841334,"diff_hunk":"@@ -195,73 +195,73 @@ proc runtest(param ndim : int, fn : string) {\n       // Define domains to extract the real and imaginary parts for\n       // in-place transforms\n       //\n-      reD = rD[..,..,0..(2*ldim-1) by 2]; \n-      imD = rD[..,..,1..(2*ldim-1) by 2]; \n+      reD = rD[..,..,0..(2*ldim-1) by 2];\n+      imD = rD[..,..,1..(2*ldim-1) by 2];\n     }\n   }\n \n   // FFTW does not normalize inverse transforms, so just compute the\n   // normalization constant.\n \n-  var norm = * reduce dims;\n+  var norm =   reduce dims;","path":"test/release/examples/primers/FFTWlib.chpl","position":114,"original_position":114,"commit_id":"ef18738f91fda6055ad4a886078e0a7317244be1","original_commit_id":"ef18738f91fda6055ad4a886078e0a7317244be1","user":{"login":"ben-albrecht","id":3595449,"avatar_url":"https://avatars.githubusercontent.com/u/3595449?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-albrecht","html_url":"https://github.com/ben-albrecht","followers_url":"https://api.github.com/users/ben-albrecht/followers","following_url":"https://api.github.com/users/ben-albrecht/following{/other_user}","gists_url":"https://api.github.com/users/ben-albrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-albrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-albrecht/subscriptions","organizations_url":"https://api.github.com/users/ben-albrecht/orgs","repos_url":"https://api.github.com/users/ben-albrecht/repos","events_url":"https://api.github.com/users/ben-albrecht/events{/privacy}","received_events_url":"https://api.github.com/users/ben-albrecht/received_events","type":"User","site_admin":false},"body":"The intention of my `sed` command was to remove cases like [these](https://github.com/chapel-lang/chapel/pull/4524/commits/acab97ccb943de8e3be8d25e8f2b55aa21e55c92#diff-31d47e363ffa2ec03395b55a87a4c4b4L2):\r\n\r\n```chapel\r\n/*\r\n *  file.chpl\r\n *\r\n *  comments\r\n*/\r\n```\r\n\r\nHowever, my regex was poorly defined, and I didn't observe the havoc it caused until several commits later. Fix on the way.","created_at":"2016-09-14T21:07:53Z","updated_at":"2016-09-14T21:07:53Z","html_url":"https://github.com/chapel-lang/chapel/pull/4524#discussion_r78841334","pull_request_url":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524","_links":{"self":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/comments/78841334"},"html":{"href":"https://github.com/chapel-lang/chapel/pull/4524#discussion_r78841334"},"pull_request":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524"}}},"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524","id":85299801,"html_url":"https://github.com/chapel-lang/chapel/pull/4524","diff_url":"https://github.com/chapel-lang/chapel/pull/4524.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/4524.patch","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/4524","number":4524,"state":"open","locked":false,"title":"Primers as Docs","user":{"login":"ben-albrecht","id":3595449,"avatar_url":"https://avatars.githubusercontent.com/u/3595449?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-albrecht","html_url":"https://github.com/ben-albrecht","followers_url":"https://api.github.com/users/ben-albrecht/followers","following_url":"https://api.github.com/users/ben-albrecht/following{/other_user}","gists_url":"https://api.github.com/users/ben-albrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-albrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-albrecht/subscriptions","organizations_url":"https://api.github.com/users/ben-albrecht/orgs","repos_url":"https://api.github.com/users/ben-albrecht/repos","events_url":"https://api.github.com/users/ben-albrecht/events{/privacy}","received_events_url":"https://api.github.com/users/ben-albrecht/received_events","type":"User","site_admin":false},"body":"## Primers as Docs\r\n\r\nThis PR adds a script, `chpl2rst.py` that is invoked upon calling `make docs`. This call converts all the `*.chpl` files in `test/release/examples/primers` into restructured text (rst) files, to be converted into html via Sphinx.\r\n\r\nSummary of changes:\r\n\r\n* New script `chpl2rst.py`\r\n* New Primers section in documentation\r\n* New build targets for docs:\r\n    * `make primers` - generate primer docs with `chpl2rst.py`\r\n    * `make clean-primers` - delete all generated primer docs\r\n    * `make html-dev` - just do the sphinx-build invocation (quicker development cycles on docs)\r\n * Edited many primers to improve readability of outputted rst files (rendered as html)\r\n\r\n## TODO\r\n\r\n* mandatory\r\n    * [ ] full testing\r\n*  optional\r\n    * [ ] Elaborate on `chpl -> rst` conversion rules in `chpl2rst.py` `__doc__`\r\n    * [ ] Automatically add links to the source code hosted on GitHub into the RSTified primers\r\n    * [ ] Clean up `chpl2rst.py` some more","created_at":"2016-09-14T20:34:04Z","updated_at":"2016-09-14T21:07:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5652e4b6cd7812c3f588708f403f85089d18dd36","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524/commits","review_comments_url":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524/comments","review_comment_url":"https://api.github.com/repos/chapel-lang/chapel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/4524/comments","statuses_url":"https://api.github.com/repos/chapel-lang/chapel/statuses/ef18738f91fda6055ad4a886078e0a7317244be1","head":{"label":"ben-albrecht:primers-online","ref":"primers-online","sha":"ef18738f91fda6055ad4a886078e0a7317244be1","user":{"login":"ben-albrecht","id":3595449,"avatar_url":"https://avatars.githubusercontent.com/u/3595449?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-albrecht","html_url":"https://github.com/ben-albrecht","followers_url":"https://api.github.com/users/ben-albrecht/followers","following_url":"https://api.github.com/users/ben-albrecht/following{/other_user}","gists_url":"https://api.github.com/users/ben-albrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-albrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-albrecht/subscriptions","organizations_url":"https://api.github.com/users/ben-albrecht/orgs","repos_url":"https://api.github.com/users/ben-albrecht/repos","events_url":"https://api.github.com/users/ben-albrecht/events{/privacy}","received_events_url":"https://api.github.com/users/ben-albrecht/received_events","type":"User","site_admin":false},"repo":{"id":42141319,"name":"chapel","full_name":"ben-albrecht/chapel","owner":{"login":"ben-albrecht","id":3595449,"avatar_url":"https://avatars.githubusercontent.com/u/3595449?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-albrecht","html_url":"https://github.com/ben-albrecht","followers_url":"https://api.github.com/users/ben-albrecht/followers","following_url":"https://api.github.com/users/ben-albrecht/following{/other_user}","gists_url":"https://api.github.com/users/ben-albrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-albrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-albrecht/subscriptions","organizations_url":"https://api.github.com/users/ben-albrecht/orgs","repos_url":"https://api.github.com/users/ben-albrecht/repos","events_url":"https://api.github.com/users/ben-albrecht/events{/privacy}","received_events_url":"https://api.github.com/users/ben-albrecht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ben-albrecht/chapel","description":"a Productive Parallel Programming Language","fork":true,"url":"https://api.github.com/repos/ben-albrecht/chapel","forks_url":"https://api.github.com/repos/ben-albrecht/chapel/forks","keys_url":"https://api.github.com/repos/ben-albrecht/chapel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ben-albrecht/chapel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ben-albrecht/chapel/teams","hooks_url":"https://api.github.com/repos/ben-albrecht/chapel/hooks","issue_events_url":"https://api.github.com/repos/ben-albrecht/chapel/issues/events{/number}","events_url":"https://api.github.com/repos/ben-albrecht/chapel/events","assignees_url":"https://api.github.com/repos/ben-albrecht/chapel/assignees{/user}","branches_url":"https://api.github.com/repos/ben-albrecht/chapel/branches{/branch}","tags_url":"https://api.github.com/repos/ben-albrecht/chapel/tags","blobs_url":"https://api.github.com/repos/ben-albrecht/chapel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ben-albrecht/chapel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ben-albrecht/chapel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ben-albrecht/chapel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ben-albrecht/chapel/statuses/{sha}","languages_url":"https://api.github.com/repos/ben-albrecht/chapel/languages","stargazers_url":"https://api.github.com/repos/ben-albrecht/chapel/stargazers","contributors_url":"https://api.github.com/repos/ben-albrecht/chapel/contributors","subscribers_url":"https://api.github.com/repos/ben-albrecht/chapel/subscribers","subscription_url":"https://api.github.com/repos/ben-albrecht/chapel/subscription","commits_url":"https://api.github.com/repos/ben-albrecht/chapel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ben-albrecht/chapel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ben-albrecht/chapel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ben-albrecht/chapel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ben-albrecht/chapel/contents/{+path}","compare_url":"https://api.github.com/repos/ben-albrecht/chapel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ben-albrecht/chapel/merges","archive_url":"https://api.github.com/repos/ben-albrecht/chapel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ben-albrecht/chapel/downloads","issues_url":"https://api.github.com/repos/ben-albrecht/chapel/issues{/number}","pulls_url":"https://api.github.com/repos/ben-albrecht/chapel/pulls{/number}","milestones_url":"https://api.github.com/repos/ben-albrecht/chapel/milestones{/number}","notifications_url":"https://api.github.com/repos/ben-albrecht/chapel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ben-albrecht/chapel/labels{/name}","releases_url":"https://api.github.com/repos/ben-albrecht/chapel/releases{/id}","deployments_url":"https://api.github.com/repos/ben-albrecht/chapel/deployments","created_at":"2015-09-08T21:59:50Z","updated_at":"2016-01-13T21:40:52Z","pushed_at":"2016-09-14T20:28:54Z","git_url":"git://github.com/ben-albrecht/chapel.git","ssh_url":"git@github.com:ben-albrecht/chapel.git","clone_url":"https://github.com/ben-albrecht/chapel.git","svn_url":"https://github.com/ben-albrecht/chapel","homepage":"http://chapel.cray.com/","size":372447,"stargazers_count":0,"watchers_count":0,"language":"Chapel","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chapel-lang:master","ref":"master","sha":"7f1f9159562d78a76ddabea05af9a220f11c6824","user":{"login":"chapel-lang","id":7597261,"avatar_url":"https://avatars.githubusercontent.com/u/7597261?v=3","gravatar_id":"","url":"https://api.github.com/users/chapel-lang","html_url":"https://github.com/chapel-lang","followers_url":"https://api.github.com/users/chapel-lang/followers","following_url":"https://api.github.com/users/chapel-lang/following{/other_user}","gists_url":"https://api.github.com/users/chapel-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/chapel-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chapel-lang/subscriptions","organizations_url":"https://api.github.com/users/chapel-lang/orgs","repos_url":"https://api.github.com/users/chapel-lang/repos","events_url":"https://api.github.com/users/chapel-lang/events{/privacy}","received_events_url":"https://api.github.com/users/chapel-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":21663285,"name":"chapel","full_name":"chapel-lang/chapel","owner":{"login":"chapel-lang","id":7597261,"avatar_url":"https://avatars.githubusercontent.com/u/7597261?v=3","gravatar_id":"","url":"https://api.github.com/users/chapel-lang","html_url":"https://github.com/chapel-lang","followers_url":"https://api.github.com/users/chapel-lang/followers","following_url":"https://api.github.com/users/chapel-lang/following{/other_user}","gists_url":"https://api.github.com/users/chapel-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/chapel-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chapel-lang/subscriptions","organizations_url":"https://api.github.com/users/chapel-lang/orgs","repos_url":"https://api.github.com/users/chapel-lang/repos","events_url":"https://api.github.com/users/chapel-lang/events{/privacy}","received_events_url":"https://api.github.com/users/chapel-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chapel-lang/chapel","description":"a Productive Parallel Programming Language","fork":false,"url":"https://api.github.com/repos/chapel-lang/chapel","forks_url":"https://api.github.com/repos/chapel-lang/chapel/forks","keys_url":"https://api.github.com/repos/chapel-lang/chapel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chapel-lang/chapel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chapel-lang/chapel/teams","hooks_url":"https://api.github.com/repos/chapel-lang/chapel/hooks","issue_events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/events{/number}","events_url":"https://api.github.com/repos/chapel-lang/chapel/events","assignees_url":"https://api.github.com/repos/chapel-lang/chapel/assignees{/user}","branches_url":"https://api.github.com/repos/chapel-lang/chapel/branches{/branch}","tags_url":"https://api.github.com/repos/chapel-lang/chapel/tags","blobs_url":"https://api.github.com/repos/chapel-lang/chapel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chapel-lang/chapel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chapel-lang/chapel/git/refs{/sha}","trees_url":"https://api.github.com/repos/chapel-lang/chapel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chapel-lang/chapel/statuses/{sha}","languages_url":"https://api.github.com/repos/chapel-lang/chapel/languages","stargazers_url":"https://api.github.com/repos/chapel-lang/chapel/stargazers","contributors_url":"https://api.github.com/repos/chapel-lang/chapel/contributors","subscribers_url":"https://api.github.com/repos/chapel-lang/chapel/subscribers","subscription_url":"https://api.github.com/repos/chapel-lang/chapel/subscription","commits_url":"https://api.github.com/repos/chapel-lang/chapel/commits{/sha}","git_commits_url":"https://api.github.com/repos/chapel-lang/chapel/git/commits{/sha}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/comments{/number}","issue_comment_url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments{/number}","contents_url":"https://api.github.com/repos/chapel-lang/chapel/contents/{+path}","compare_url":"https://api.github.com/repos/chapel-lang/chapel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chapel-lang/chapel/merges","archive_url":"https://api.github.com/repos/chapel-lang/chapel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chapel-lang/chapel/downloads","issues_url":"https://api.github.com/repos/chapel-lang/chapel/issues{/number}","pulls_url":"https://api.github.com/repos/chapel-lang/chapel/pulls{/number}","milestones_url":"https://api.github.com/repos/chapel-lang/chapel/milestones{/number}","notifications_url":"https://api.github.com/repos/chapel-lang/chapel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chapel-lang/chapel/labels{/name}","releases_url":"https://api.github.com/repos/chapel-lang/chapel/releases{/id}","deployments_url":"https://api.github.com/repos/chapel-lang/chapel/deployments","created_at":"2014-07-09T18:15:54Z","updated_at":"2016-09-12T10:29:47Z","pushed_at":"2016-09-14T21:01:46Z","git_url":"git://github.com/chapel-lang/chapel.git","ssh_url":"git@github.com:chapel-lang/chapel.git","clone_url":"https://github.com/chapel-lang/chapel.git","svn_url":"https://github.com/chapel-lang/chapel","homepage":"http://chapel.cray.com/","size":484942,"stargazers_count":312,"watchers_count":312,"language":"Chapel","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":18,"forks":107,"open_issues":18,"watchers":312,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524"},"html":{"href":"https://github.com/chapel-lang/chapel/pull/4524"},"issue":{"href":"https://api.github.com/repos/chapel-lang/chapel/issues/4524"},"comments":{"href":"https://api.github.com/repos/chapel-lang/chapel/issues/4524/comments"},"review_comments":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524/comments"},"review_comment":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chapel-lang/chapel/pulls/4524/commits"},"statuses":{"href":"https://api.github.com/repos/chapel-lang/chapel/statuses/ef18738f91fda6055ad4a886078e0a7317244be1"}}}}
{"actor":{"display_login":"ben-albrecht"}}