{"action":"created","comment":{"url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/comments/359100712","pull_request_review_id":333668977,"id":359100712,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1OTEwMDcxMg==","diff_hunk":"@@ -257,11 +282,11 @@ fn parse_gdlk(input: &str) -> IResult<&str, Vec<Instr>, VerboseError<&str>> {\n     // parses the whole program followed by 0 or more whitespace chars\n \n     // consume starting whitespace\n-    let (input, _) = multispace0(input)?;\n+    let (input, _) = comment_or_spaces(input)?;\n     // make sure something is there but don't consume the input\n     // TODO: make this error message nicer\n     peek(alpha1)(input)?;\n-    let (input, res) = all_consuming(many0(try_each))(input)?;\n+    let (input, res) = all_consuming(many0(try_each_instr))(input)?;","path":"core/src/parse.rs","position":92,"original_position":92,"commit_id":"9d807f6ccce8505825ce425b7fbdfbdf9eb0c93e","original_commit_id":"9d807f6ccce8505825ce425b7fbdfbdf9eb0c93e","user":{"login":"LucasPickering","id":2382935,"node_id":"MDQ6VXNlcjIzODI5MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2382935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasPickering","html_url":"https://github.com/LucasPickering","followers_url":"https://api.github.com/users/LucasPickering/followers","following_url":"https://api.github.com/users/LucasPickering/following{/other_user}","gists_url":"https://api.github.com/users/LucasPickering/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasPickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasPickering/subscriptions","organizations_url":"https://api.github.com/users/LucasPickering/orgs","repos_url":"https://api.github.com/users/LucasPickering/repos","events_url":"https://api.github.com/users/LucasPickering/events{/privacy}","received_events_url":"https://api.github.com/users/LucasPickering/received_events","type":"User","site_admin":false},"body":"I just noticed this function doesn't call `parse_body`. It prob should since a body is just a vec of instructions so the program as a whole is a body. Would that be possible/easy?","created_at":"2019-12-18T00:36:02Z","updated_at":"2019-12-18T00:37:53Z","html_url":"https://github.com/LucasPickering/gdlk/pull/24#discussion_r359100712","pull_request_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/comments/359100712"},"html":{"href":"https://github.com/LucasPickering/gdlk/pull/24#discussion_r359100712"},"pull_request":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24","id":354370198,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU0MzcwMTk4","html_url":"https://github.com/LucasPickering/gdlk/pull/24","diff_url":"https://github.com/LucasPickering/gdlk/pull/24.diff","patch_url":"https://github.com/LucasPickering/gdlk/pull/24.patch","issue_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/24","number":24,"state":"open","locked":false,"title":"Add comment parsing and make sure instrs have new line","user":{"login":"JRMurr","id":5672686,"node_id":"MDQ6VXNlcjU2NzI2ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/5672686?v=4","gravatar_id":"","url":"https://api.github.com/users/JRMurr","html_url":"https://github.com/JRMurr","followers_url":"https://api.github.com/users/JRMurr/followers","following_url":"https://api.github.com/users/JRMurr/following{/other_user}","gists_url":"https://api.github.com/users/JRMurr/gists{/gist_id}","starred_url":"https://api.github.com/users/JRMurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRMurr/subscriptions","organizations_url":"https://api.github.com/users/JRMurr/orgs","repos_url":"https://api.github.com/users/JRMurr/repos","events_url":"https://api.github.com/users/JRMurr/events{/privacy}","received_events_url":"https://api.github.com/users/JRMurr/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-18T00:25:37Z","updated_at":"2019-12-18T00:37:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b19d6ca0d6a32d888bb9ef1e4d66ebfc690f695","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24/commits","review_comments_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24/comments","review_comment_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/24/comments","statuses_url":"https://api.github.com/repos/LucasPickering/gdlk/statuses/9d807f6ccce8505825ce425b7fbdfbdf9eb0c93e","head":{"label":"LucasPickering:comments","ref":"comments","sha":"9d807f6ccce8505825ce425b7fbdfbdf9eb0c93e","user":{"login":"LucasPickering","id":2382935,"node_id":"MDQ6VXNlcjIzODI5MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2382935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasPickering","html_url":"https://github.com/LucasPickering","followers_url":"https://api.github.com/users/LucasPickering/followers","following_url":"https://api.github.com/users/LucasPickering/following{/other_user}","gists_url":"https://api.github.com/users/LucasPickering/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasPickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasPickering/subscriptions","organizations_url":"https://api.github.com/users/LucasPickering/orgs","repos_url":"https://api.github.com/users/LucasPickering/repos","events_url":"https://api.github.com/users/LucasPickering/events{/privacy}","received_events_url":"https://api.github.com/users/LucasPickering/received_events","type":"User","site_admin":false},"repo":{"id":219592150,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk1OTIxNTA=","name":"gdlk","full_name":"LucasPickering/gdlk","private":false,"owner":{"login":"LucasPickering","id":2382935,"node_id":"MDQ6VXNlcjIzODI5MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2382935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasPickering","html_url":"https://github.com/LucasPickering","followers_url":"https://api.github.com/users/LucasPickering/followers","following_url":"https://api.github.com/users/LucasPickering/following{/other_user}","gists_url":"https://api.github.com/users/LucasPickering/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasPickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasPickering/subscriptions","organizations_url":"https://api.github.com/users/LucasPickering/orgs","repos_url":"https://api.github.com/users/LucasPickering/repos","events_url":"https://api.github.com/users/LucasPickering/events{/privacy}","received_events_url":"https://api.github.com/users/LucasPickering/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LucasPickering/gdlk","description":"GDLK Development Language Kit is a web-based programming language and puzzle game","fork":false,"url":"https://api.github.com/repos/LucasPickering/gdlk","forks_url":"https://api.github.com/repos/LucasPickering/gdlk/forks","keys_url":"https://api.github.com/repos/LucasPickering/gdlk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LucasPickering/gdlk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LucasPickering/gdlk/teams","hooks_url":"https://api.github.com/repos/LucasPickering/gdlk/hooks","issue_events_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/events{/number}","events_url":"https://api.github.com/repos/LucasPickering/gdlk/events","assignees_url":"https://api.github.com/repos/LucasPickering/gdlk/assignees{/user}","branches_url":"https://api.github.com/repos/LucasPickering/gdlk/branches{/branch}","tags_url":"https://api.github.com/repos/LucasPickering/gdlk/tags","blobs_url":"https://api.github.com/repos/LucasPickering/gdlk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LucasPickering/gdlk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LucasPickering/gdlk/git/refs{/sha}","trees_url":"https://api.github.com/repos/LucasPickering/gdlk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LucasPickering/gdlk/statuses/{sha}","languages_url":"https://api.github.com/repos/LucasPickering/gdlk/languages","stargazers_url":"https://api.github.com/repos/LucasPickering/gdlk/stargazers","contributors_url":"https://api.github.com/repos/LucasPickering/gdlk/contributors","subscribers_url":"https://api.github.com/repos/LucasPickering/gdlk/subscribers","subscription_url":"https://api.github.com/repos/LucasPickering/gdlk/subscription","commits_url":"https://api.github.com/repos/LucasPickering/gdlk/commits{/sha}","git_commits_url":"https://api.github.com/repos/LucasPickering/gdlk/git/commits{/sha}","comments_url":"https://api.github.com/repos/LucasPickering/gdlk/comments{/number}","issue_comment_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/comments{/number}","contents_url":"https://api.github.com/repos/LucasPickering/gdlk/contents/{+path}","compare_url":"https://api.github.com/repos/LucasPickering/gdlk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LucasPickering/gdlk/merges","archive_url":"https://api.github.com/repos/LucasPickering/gdlk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LucasPickering/gdlk/downloads","issues_url":"https://api.github.com/repos/LucasPickering/gdlk/issues{/number}","pulls_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls{/number}","milestones_url":"https://api.github.com/repos/LucasPickering/gdlk/milestones{/number}","notifications_url":"https://api.github.com/repos/LucasPickering/gdlk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LucasPickering/gdlk/labels{/name}","releases_url":"https://api.github.com/repos/LucasPickering/gdlk/releases{/id}","deployments_url":"https://api.github.com/repos/LucasPickering/gdlk/deployments","created_at":"2019-11-04T20:38:27Z","updated_at":"2019-12-17T23:30:41Z","pushed_at":"2019-12-18T00:32:34Z","git_url":"git://github.com/LucasPickering/gdlk.git","ssh_url":"git@github.com:LucasPickering/gdlk.git","clone_url":"https://github.com/LucasPickering/gdlk.git","svn_url":"https://github.com/LucasPickering/gdlk","homepage":"","size":167,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"LucasPickering:master","ref":"master","sha":"3d7d34102c53cacefa50cba82c93ae549e1f79cb","user":{"login":"LucasPickering","id":2382935,"node_id":"MDQ6VXNlcjIzODI5MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2382935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasPickering","html_url":"https://github.com/LucasPickering","followers_url":"https://api.github.com/users/LucasPickering/followers","following_url":"https://api.github.com/users/LucasPickering/following{/other_user}","gists_url":"https://api.github.com/users/LucasPickering/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasPickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasPickering/subscriptions","organizations_url":"https://api.github.com/users/LucasPickering/orgs","repos_url":"https://api.github.com/users/LucasPickering/repos","events_url":"https://api.github.com/users/LucasPickering/events{/privacy}","received_events_url":"https://api.github.com/users/LucasPickering/received_events","type":"User","site_admin":false},"repo":{"id":219592150,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk1OTIxNTA=","name":"gdlk","full_name":"LucasPickering/gdlk","private":false,"owner":{"login":"LucasPickering","id":2382935,"node_id":"MDQ6VXNlcjIzODI5MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2382935?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasPickering","html_url":"https://github.com/LucasPickering","followers_url":"https://api.github.com/users/LucasPickering/followers","following_url":"https://api.github.com/users/LucasPickering/following{/other_user}","gists_url":"https://api.github.com/users/LucasPickering/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasPickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasPickering/subscriptions","organizations_url":"https://api.github.com/users/LucasPickering/orgs","repos_url":"https://api.github.com/users/LucasPickering/repos","events_url":"https://api.github.com/users/LucasPickering/events{/privacy}","received_events_url":"https://api.github.com/users/LucasPickering/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LucasPickering/gdlk","description":"GDLK Development Language Kit is a web-based programming language and puzzle game","fork":false,"url":"https://api.github.com/repos/LucasPickering/gdlk","forks_url":"https://api.github.com/repos/LucasPickering/gdlk/forks","keys_url":"https://api.github.com/repos/LucasPickering/gdlk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LucasPickering/gdlk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LucasPickering/gdlk/teams","hooks_url":"https://api.github.com/repos/LucasPickering/gdlk/hooks","issue_events_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/events{/number}","events_url":"https://api.github.com/repos/LucasPickering/gdlk/events","assignees_url":"https://api.github.com/repos/LucasPickering/gdlk/assignees{/user}","branches_url":"https://api.github.com/repos/LucasPickering/gdlk/branches{/branch}","tags_url":"https://api.github.com/repos/LucasPickering/gdlk/tags","blobs_url":"https://api.github.com/repos/LucasPickering/gdlk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LucasPickering/gdlk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LucasPickering/gdlk/git/refs{/sha}","trees_url":"https://api.github.com/repos/LucasPickering/gdlk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LucasPickering/gdlk/statuses/{sha}","languages_url":"https://api.github.com/repos/LucasPickering/gdlk/languages","stargazers_url":"https://api.github.com/repos/LucasPickering/gdlk/stargazers","contributors_url":"https://api.github.com/repos/LucasPickering/gdlk/contributors","subscribers_url":"https://api.github.com/repos/LucasPickering/gdlk/subscribers","subscription_url":"https://api.github.com/repos/LucasPickering/gdlk/subscription","commits_url":"https://api.github.com/repos/LucasPickering/gdlk/commits{/sha}","git_commits_url":"https://api.github.com/repos/LucasPickering/gdlk/git/commits{/sha}","comments_url":"https://api.github.com/repos/LucasPickering/gdlk/comments{/number}","issue_comment_url":"https://api.github.com/repos/LucasPickering/gdlk/issues/comments{/number}","contents_url":"https://api.github.com/repos/LucasPickering/gdlk/contents/{+path}","compare_url":"https://api.github.com/repos/LucasPickering/gdlk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LucasPickering/gdlk/merges","archive_url":"https://api.github.com/repos/LucasPickering/gdlk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LucasPickering/gdlk/downloads","issues_url":"https://api.github.com/repos/LucasPickering/gdlk/issues{/number}","pulls_url":"https://api.github.com/repos/LucasPickering/gdlk/pulls{/number}","milestones_url":"https://api.github.com/repos/LucasPickering/gdlk/milestones{/number}","notifications_url":"https://api.github.com/repos/LucasPickering/gdlk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LucasPickering/gdlk/labels{/name}","releases_url":"https://api.github.com/repos/LucasPickering/gdlk/releases{/id}","deployments_url":"https://api.github.com/repos/LucasPickering/gdlk/deployments","created_at":"2019-11-04T20:38:27Z","updated_at":"2019-12-17T23:30:41Z","pushed_at":"2019-12-18T00:32:34Z","git_url":"git://github.com/LucasPickering/gdlk.git","ssh_url":"git@github.com:LucasPickering/gdlk.git","clone_url":"https://github.com/LucasPickering/gdlk.git","svn_url":"https://github.com/LucasPickering/gdlk","homepage":"","size":167,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24"},"html":{"href":"https://github.com/LucasPickering/gdlk/pull/24"},"issue":{"href":"https://api.github.com/repos/LucasPickering/gdlk/issues/24"},"comments":{"href":"https://api.github.com/repos/LucasPickering/gdlk/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LucasPickering/gdlk/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/LucasPickering/gdlk/statuses/9d807f6ccce8505825ce425b7fbdfbdf9eb0c93e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"LucasPickering"}}