{"action":"created","comment":{"url":"https://api.github.com/repos/softdevteam/grammars/pulls/comments/235111670","pull_request_review_id":176902967,"id":235111670,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTExMTY3MA==","diff_hunk":"@@ -0,0 +1,22 @@\n+================================================================================\n+  PHP 7.3 yacc grammar\n+================================================================================\n+\n+This is an adaption of PHP's 7.3 Yacc grammar for lrpar. There are few things\n+that are currently not supported. First, the dangling else problem in PHP is\n+resolved by adding the non-existent `T_NOELSE` token, which takes precedence\n+over `else`. But since this token can't exist, shifting `else` is chosen in\n+favour of a reduction. Since lrpar requires all tokens to be defined in the\n+lexer, the `T_NOELSE` token has been removed. However, since lrpar by default\n+resolves conflicts in favour of shifts, we get the same outcome, though will","path":"php7/README","position":11,"original_position":11,"commit_id":"0f3039337e56881d592e69935304448c16f94ee8","original_commit_id":"1904e08d05f94ace3ad3b0d42413282d515165a5","user":{"login":"ltratt","id":20318,"node_id":"MDQ6VXNlcjIwMzE4","avatar_url":"https://avatars1.githubusercontent.com/u/20318?v=4","gravatar_id":"","url":"https://api.github.com/users/ltratt","html_url":"https://github.com/ltratt","followers_url":"https://api.github.com/users/ltratt/followers","following_url":"https://api.github.com/users/ltratt/following{/other_user}","gists_url":"https://api.github.com/users/ltratt/gists{/gist_id}","starred_url":"https://api.github.com/users/ltratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltratt/subscriptions","organizations_url":"https://api.github.com/users/ltratt/orgs","repos_url":"https://api.github.com/users/ltratt/repos","events_url":"https://api.github.com/users/ltratt/events{/privacy}","received_events_url":"https://api.github.com/users/ltratt/received_events","type":"User","site_admin":false},"body":"\"though will produce a warning\" doesn't parse.","created_at":"2018-11-20T18:06:42Z","updated_at":"2018-11-20T18:08:19Z","html_url":"https://github.com/softdevteam/grammars/pull/7#discussion_r235111670","pull_request_url":"https://api.github.com/repos/softdevteam/grammars/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/comments/235111670"},"html":{"href":"https://github.com/softdevteam/grammars/pull/7#discussion_r235111670"},"pull_request":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/softdevteam/grammars/pulls/7","id":232355701,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMzU1NzAx","html_url":"https://github.com/softdevteam/grammars/pull/7","diff_url":"https://github.com/softdevteam/grammars/pull/7.diff","patch_url":"https://github.com/softdevteam/grammars/pull/7.patch","issue_url":"https://api.github.com/repos/softdevteam/grammars/issues/7","number":7,"state":"open","locked":false,"title":"Added PHP grammar","user":{"login":"ptersilie","id":375552,"node_id":"MDQ6VXNlcjM3NTU1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/375552?v=4","gravatar_id":"","url":"https://api.github.com/users/ptersilie","html_url":"https://github.com/ptersilie","followers_url":"https://api.github.com/users/ptersilie/followers","following_url":"https://api.github.com/users/ptersilie/following{/other_user}","gists_url":"https://api.github.com/users/ptersilie/gists{/gist_id}","starred_url":"https://api.github.com/users/ptersilie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptersilie/subscriptions","organizations_url":"https://api.github.com/users/ptersilie/orgs","repos_url":"https://api.github.com/users/ptersilie/repos","events_url":"https://api.github.com/users/ptersilie/events{/privacy}","received_events_url":"https://api.github.com/users/ptersilie/received_events","type":"User","site_admin":false},"body":"This PR adds a PHP grammar based on the official Yacc grammar by Zend (https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y).\r\n\r\nThis grammar currently parses 96% of the PHP tests at https://github.com/php/php-src/tree/master/tests. Missing are things like HEREDOC and specialised strings. Our lexer currently parses all strings equally, while PHP requires different string types, e.g. string with variables, string with numbers, etc.","created_at":"2018-11-20T15:20:57Z","updated_at":"2018-11-20T18:08:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e301b353f64c2079e6076eb50649c18c0814da1","assignee":{"login":"ltratt","id":20318,"node_id":"MDQ6VXNlcjIwMzE4","avatar_url":"https://avatars1.githubusercontent.com/u/20318?v=4","gravatar_id":"","url":"https://api.github.com/users/ltratt","html_url":"https://github.com/ltratt","followers_url":"https://api.github.com/users/ltratt/followers","following_url":"https://api.github.com/users/ltratt/following{/other_user}","gists_url":"https://api.github.com/users/ltratt/gists{/gist_id}","starred_url":"https://api.github.com/users/ltratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltratt/subscriptions","organizations_url":"https://api.github.com/users/ltratt/orgs","repos_url":"https://api.github.com/users/ltratt/repos","events_url":"https://api.github.com/users/ltratt/events{/privacy}","received_events_url":"https://api.github.com/users/ltratt/received_events","type":"User","site_admin":false},"assignees":[{"login":"ltratt","id":20318,"node_id":"MDQ6VXNlcjIwMzE4","avatar_url":"https://avatars1.githubusercontent.com/u/20318?v=4","gravatar_id":"","url":"https://api.github.com/users/ltratt","html_url":"https://github.com/ltratt","followers_url":"https://api.github.com/users/ltratt/followers","following_url":"https://api.github.com/users/ltratt/following{/other_user}","gists_url":"https://api.github.com/users/ltratt/gists{/gist_id}","starred_url":"https://api.github.com/users/ltratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltratt/subscriptions","organizations_url":"https://api.github.com/users/ltratt/orgs","repos_url":"https://api.github.com/users/ltratt/repos","events_url":"https://api.github.com/users/ltratt/events{/privacy}","received_events_url":"https://api.github.com/users/ltratt/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/softdevteam/grammars/pulls/7/commits","review_comments_url":"https://api.github.com/repos/softdevteam/grammars/pulls/7/comments","review_comment_url":"https://api.github.com/repos/softdevteam/grammars/pulls/comments{/number}","comments_url":"https://api.github.com/repos/softdevteam/grammars/issues/7/comments","statuses_url":"https://api.github.com/repos/softdevteam/grammars/statuses/0f3039337e56881d592e69935304448c16f94ee8","head":{"label":"softdevteam:phpgrm","ref":"phpgrm","sha":"0f3039337e56881d592e69935304448c16f94ee8","user":{"login":"softdevteam","id":10271085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcxMDg1","avatar_url":"https://avatars0.githubusercontent.com/u/10271085?v=4","gravatar_id":"","url":"https://api.github.com/users/softdevteam","html_url":"https://github.com/softdevteam","followers_url":"https://api.github.com/users/softdevteam/followers","following_url":"https://api.github.com/users/softdevteam/following{/other_user}","gists_url":"https://api.github.com/users/softdevteam/gists{/gist_id}","starred_url":"https://api.github.com/users/softdevteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softdevteam/subscriptions","organizations_url":"https://api.github.com/users/softdevteam/orgs","repos_url":"https://api.github.com/users/softdevteam/repos","events_url":"https://api.github.com/users/softdevteam/events{/privacy}","received_events_url":"https://api.github.com/users/softdevteam/received_events","type":"Organization","site_admin":false},"repo":{"id":126499610,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY0OTk2MTA=","name":"grammars","full_name":"softdevteam/grammars","private":false,"owner":{"login":"softdevteam","id":10271085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcxMDg1","avatar_url":"https://avatars0.githubusercontent.com/u/10271085?v=4","gravatar_id":"","url":"https://api.github.com/users/softdevteam","html_url":"https://github.com/softdevteam","followers_url":"https://api.github.com/users/softdevteam/followers","following_url":"https://api.github.com/users/softdevteam/following{/other_user}","gists_url":"https://api.github.com/users/softdevteam/gists{/gist_id}","starred_url":"https://api.github.com/users/softdevteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softdevteam/subscriptions","organizations_url":"https://api.github.com/users/softdevteam/orgs","repos_url":"https://api.github.com/users/softdevteam/repos","events_url":"https://api.github.com/users/softdevteam/events{/privacy}","received_events_url":"https://api.github.com/users/softdevteam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/softdevteam/grammars","description":"A collection of language grammars for `lrpar`","fork":false,"url":"https://api.github.com/repos/softdevteam/grammars","forks_url":"https://api.github.com/repos/softdevteam/grammars/forks","keys_url":"https://api.github.com/repos/softdevteam/grammars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/softdevteam/grammars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/softdevteam/grammars/teams","hooks_url":"https://api.github.com/repos/softdevteam/grammars/hooks","issue_events_url":"https://api.github.com/repos/softdevteam/grammars/issues/events{/number}","events_url":"https://api.github.com/repos/softdevteam/grammars/events","assignees_url":"https://api.github.com/repos/softdevteam/grammars/assignees{/user}","branches_url":"https://api.github.com/repos/softdevteam/grammars/branches{/branch}","tags_url":"https://api.github.com/repos/softdevteam/grammars/tags","blobs_url":"https://api.github.com/repos/softdevteam/grammars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/softdevteam/grammars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/softdevteam/grammars/git/refs{/sha}","trees_url":"https://api.github.com/repos/softdevteam/grammars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/softdevteam/grammars/statuses/{sha}","languages_url":"https://api.github.com/repos/softdevteam/grammars/languages","stargazers_url":"https://api.github.com/repos/softdevteam/grammars/stargazers","contributors_url":"https://api.github.com/repos/softdevteam/grammars/contributors","subscribers_url":"https://api.github.com/repos/softdevteam/grammars/subscribers","subscription_url":"https://api.github.com/repos/softdevteam/grammars/subscription","commits_url":"https://api.github.com/repos/softdevteam/grammars/commits{/sha}","git_commits_url":"https://api.github.com/repos/softdevteam/grammars/git/commits{/sha}","comments_url":"https://api.github.com/repos/softdevteam/grammars/comments{/number}","issue_comment_url":"https://api.github.com/repos/softdevteam/grammars/issues/comments{/number}","contents_url":"https://api.github.com/repos/softdevteam/grammars/contents/{+path}","compare_url":"https://api.github.com/repos/softdevteam/grammars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/softdevteam/grammars/merges","archive_url":"https://api.github.com/repos/softdevteam/grammars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/softdevteam/grammars/downloads","issues_url":"https://api.github.com/repos/softdevteam/grammars/issues{/number}","pulls_url":"https://api.github.com/repos/softdevteam/grammars/pulls{/number}","milestones_url":"https://api.github.com/repos/softdevteam/grammars/milestones{/number}","notifications_url":"https://api.github.com/repos/softdevteam/grammars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/softdevteam/grammars/labels{/name}","releases_url":"https://api.github.com/repos/softdevteam/grammars/releases{/id}","deployments_url":"https://api.github.com/repos/softdevteam/grammars/deployments","created_at":"2018-03-23T14:52:22Z","updated_at":"2018-11-20T14:00:13Z","pushed_at":"2018-11-20T18:05:37Z","git_url":"git://github.com/softdevteam/grammars.git","ssh_url":"git@github.com:softdevteam/grammars.git","clone_url":"https://github.com/softdevteam/grammars.git","svn_url":"https://github.com/softdevteam/grammars","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Yacc","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"softdevteam:master","ref":"master","sha":"588283d0a31c925e8afd08967b4590b5b37b9fce","user":{"login":"softdevteam","id":10271085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcxMDg1","avatar_url":"https://avatars0.githubusercontent.com/u/10271085?v=4","gravatar_id":"","url":"https://api.github.com/users/softdevteam","html_url":"https://github.com/softdevteam","followers_url":"https://api.github.com/users/softdevteam/followers","following_url":"https://api.github.com/users/softdevteam/following{/other_user}","gists_url":"https://api.github.com/users/softdevteam/gists{/gist_id}","starred_url":"https://api.github.com/users/softdevteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softdevteam/subscriptions","organizations_url":"https://api.github.com/users/softdevteam/orgs","repos_url":"https://api.github.com/users/softdevteam/repos","events_url":"https://api.github.com/users/softdevteam/events{/privacy}","received_events_url":"https://api.github.com/users/softdevteam/received_events","type":"Organization","site_admin":false},"repo":{"id":126499610,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY0OTk2MTA=","name":"grammars","full_name":"softdevteam/grammars","private":false,"owner":{"login":"softdevteam","id":10271085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcxMDg1","avatar_url":"https://avatars0.githubusercontent.com/u/10271085?v=4","gravatar_id":"","url":"https://api.github.com/users/softdevteam","html_url":"https://github.com/softdevteam","followers_url":"https://api.github.com/users/softdevteam/followers","following_url":"https://api.github.com/users/softdevteam/following{/other_user}","gists_url":"https://api.github.com/users/softdevteam/gists{/gist_id}","starred_url":"https://api.github.com/users/softdevteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softdevteam/subscriptions","organizations_url":"https://api.github.com/users/softdevteam/orgs","repos_url":"https://api.github.com/users/softdevteam/repos","events_url":"https://api.github.com/users/softdevteam/events{/privacy}","received_events_url":"https://api.github.com/users/softdevteam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/softdevteam/grammars","description":"A collection of language grammars for `lrpar`","fork":false,"url":"https://api.github.com/repos/softdevteam/grammars","forks_url":"https://api.github.com/repos/softdevteam/grammars/forks","keys_url":"https://api.github.com/repos/softdevteam/grammars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/softdevteam/grammars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/softdevteam/grammars/teams","hooks_url":"https://api.github.com/repos/softdevteam/grammars/hooks","issue_events_url":"https://api.github.com/repos/softdevteam/grammars/issues/events{/number}","events_url":"https://api.github.com/repos/softdevteam/grammars/events","assignees_url":"https://api.github.com/repos/softdevteam/grammars/assignees{/user}","branches_url":"https://api.github.com/repos/softdevteam/grammars/branches{/branch}","tags_url":"https://api.github.com/repos/softdevteam/grammars/tags","blobs_url":"https://api.github.com/repos/softdevteam/grammars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/softdevteam/grammars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/softdevteam/grammars/git/refs{/sha}","trees_url":"https://api.github.com/repos/softdevteam/grammars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/softdevteam/grammars/statuses/{sha}","languages_url":"https://api.github.com/repos/softdevteam/grammars/languages","stargazers_url":"https://api.github.com/repos/softdevteam/grammars/stargazers","contributors_url":"https://api.github.com/repos/softdevteam/grammars/contributors","subscribers_url":"https://api.github.com/repos/softdevteam/grammars/subscribers","subscription_url":"https://api.github.com/repos/softdevteam/grammars/subscription","commits_url":"https://api.github.com/repos/softdevteam/grammars/commits{/sha}","git_commits_url":"https://api.github.com/repos/softdevteam/grammars/git/commits{/sha}","comments_url":"https://api.github.com/repos/softdevteam/grammars/comments{/number}","issue_comment_url":"https://api.github.com/repos/softdevteam/grammars/issues/comments{/number}","contents_url":"https://api.github.com/repos/softdevteam/grammars/contents/{+path}","compare_url":"https://api.github.com/repos/softdevteam/grammars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/softdevteam/grammars/merges","archive_url":"https://api.github.com/repos/softdevteam/grammars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/softdevteam/grammars/downloads","issues_url":"https://api.github.com/repos/softdevteam/grammars/issues{/number}","pulls_url":"https://api.github.com/repos/softdevteam/grammars/pulls{/number}","milestones_url":"https://api.github.com/repos/softdevteam/grammars/milestones{/number}","notifications_url":"https://api.github.com/repos/softdevteam/grammars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/softdevteam/grammars/labels{/name}","releases_url":"https://api.github.com/repos/softdevteam/grammars/releases{/id}","deployments_url":"https://api.github.com/repos/softdevteam/grammars/deployments","created_at":"2018-03-23T14:52:22Z","updated_at":"2018-11-20T14:00:13Z","pushed_at":"2018-11-20T18:05:37Z","git_url":"git://github.com/softdevteam/grammars.git","ssh_url":"git@github.com:softdevteam/grammars.git","clone_url":"https://github.com/softdevteam/grammars.git","svn_url":"https://github.com/softdevteam/grammars","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Yacc","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/7"},"html":{"href":"https://github.com/softdevteam/grammars/pull/7"},"issue":{"href":"https://api.github.com/repos/softdevteam/grammars/issues/7"},"comments":{"href":"https://api.github.com/repos/softdevteam/grammars/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/softdevteam/grammars/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/softdevteam/grammars/statuses/0f3039337e56881d592e69935304448c16f94ee8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ltratt"}}