{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/vnmakarov/yaep/pulls/16","id":220823356,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwODIzMzU2","html_url":"https://github.com/vnmakarov/yaep/pull/16","diff_url":"https://github.com/vnmakarov/yaep/pull/16.diff","patch_url":"https://github.com/vnmakarov/yaep/pull/16.patch","issue_url":"https://api.github.com/repos/vnmakarov/yaep/issues/16","number":16,"state":"open","locked":false,"title":"Reentrant allocator","user":{"login":"TheCount","id":558229,"node_id":"MDQ6VXNlcjU1ODIyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/558229?v=4","gravatar_id":"","url":"https://api.github.com/users/TheCount","html_url":"https://github.com/TheCount","followers_url":"https://api.github.com/users/TheCount/followers","following_url":"https://api.github.com/users/TheCount/following{/other_user}","gists_url":"https://api.github.com/users/TheCount/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCount/subscriptions","organizations_url":"https://api.github.com/users/TheCount/orgs","repos_url":"https://api.github.com/users/TheCount/repos","events_url":"https://api.github.com/users/TheCount/events{/privacy}","received_events_url":"https://api.github.com/users/TheCount/received_events","type":"User","site_admin":false},"body":"This is an early preparation for a fix to #12.\r\n\r\nIt basically does two things:\r\n* Remove `allocate.h` from the yaep install/interface: it's not actually needed for using the yaep library.\r\n* Rewrite the `allocate.h` interface internally so the allocator becomes reentrant. Incidentally, this should remove the remaining memory leak.\r\n\r\nNote that the new `allocate.h` internal interface is not compatible to the old one, and the fact that the allocator is now reentrant makes it necessary to carry an `alloc` handle around, which had ramifications throughout the code.\r\n\r\nBonus feature: yaep now has a convenience function to free a returned parse tree.","created_at":"2018-10-05T21:01:24Z","updated_at":"2018-10-05T21:01:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vnmakarov/yaep/pulls/16/commits","review_comments_url":"https://api.github.com/repos/vnmakarov/yaep/pulls/16/comments","review_comment_url":"https://api.github.com/repos/vnmakarov/yaep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vnmakarov/yaep/issues/16/comments","statuses_url":"https://api.github.com/repos/vnmakarov/yaep/statuses/93e391855bfd1bc7623c5e77f4c83cc5561d43ec","head":{"label":"TheCount:feature-reentrant","ref":"feature-reentrant","sha":"93e391855bfd1bc7623c5e77f4c83cc5561d43ec","user":{"login":"TheCount","id":558229,"node_id":"MDQ6VXNlcjU1ODIyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/558229?v=4","gravatar_id":"","url":"https://api.github.com/users/TheCount","html_url":"https://github.com/TheCount","followers_url":"https://api.github.com/users/TheCount/followers","following_url":"https://api.github.com/users/TheCount/following{/other_user}","gists_url":"https://api.github.com/users/TheCount/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCount/subscriptions","organizations_url":"https://api.github.com/users/TheCount/orgs","repos_url":"https://api.github.com/users/TheCount/repos","events_url":"https://api.github.com/users/TheCount/events{/privacy}","received_events_url":"https://api.github.com/users/TheCount/received_events","type":"User","site_admin":false},"repo":{"id":150886424,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA4ODY0MjQ=","name":"yaep","full_name":"TheCount/yaep","private":false,"owner":{"login":"TheCount","id":558229,"node_id":"MDQ6VXNlcjU1ODIyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/558229?v=4","gravatar_id":"","url":"https://api.github.com/users/TheCount","html_url":"https://github.com/TheCount","followers_url":"https://api.github.com/users/TheCount/followers","following_url":"https://api.github.com/users/TheCount/following{/other_user}","gists_url":"https://api.github.com/users/TheCount/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCount/subscriptions","organizations_url":"https://api.github.com/users/TheCount/orgs","repos_url":"https://api.github.com/users/TheCount/repos","events_url":"https://api.github.com/users/TheCount/events{/privacy}","received_events_url":"https://api.github.com/users/TheCount/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TheCount/yaep","description":"Yet Another Earley Parser","fork":true,"url":"https://api.github.com/repos/TheCount/yaep","forks_url":"https://api.github.com/repos/TheCount/yaep/forks","keys_url":"https://api.github.com/repos/TheCount/yaep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheCount/yaep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheCount/yaep/teams","hooks_url":"https://api.github.com/repos/TheCount/yaep/hooks","issue_events_url":"https://api.github.com/repos/TheCount/yaep/issues/events{/number}","events_url":"https://api.github.com/repos/TheCount/yaep/events","assignees_url":"https://api.github.com/repos/TheCount/yaep/assignees{/user}","branches_url":"https://api.github.com/repos/TheCount/yaep/branches{/branch}","tags_url":"https://api.github.com/repos/TheCount/yaep/tags","blobs_url":"https://api.github.com/repos/TheCount/yaep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheCount/yaep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheCount/yaep/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheCount/yaep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheCount/yaep/statuses/{sha}","languages_url":"https://api.github.com/repos/TheCount/yaep/languages","stargazers_url":"https://api.github.com/repos/TheCount/yaep/stargazers","contributors_url":"https://api.github.com/repos/TheCount/yaep/contributors","subscribers_url":"https://api.github.com/repos/TheCount/yaep/subscribers","subscription_url":"https://api.github.com/repos/TheCount/yaep/subscription","commits_url":"https://api.github.com/repos/TheCount/yaep/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheCount/yaep/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheCount/yaep/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheCount/yaep/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheCount/yaep/contents/{+path}","compare_url":"https://api.github.com/repos/TheCount/yaep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheCount/yaep/merges","archive_url":"https://api.github.com/repos/TheCount/yaep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheCount/yaep/downloads","issues_url":"https://api.github.com/repos/TheCount/yaep/issues{/number}","pulls_url":"https://api.github.com/repos/TheCount/yaep/pulls{/number}","milestones_url":"https://api.github.com/repos/TheCount/yaep/milestones{/number}","notifications_url":"https://api.github.com/repos/TheCount/yaep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheCount/yaep/labels{/name}","releases_url":"https://api.github.com/repos/TheCount/yaep/releases{/id}","deployments_url":"https://api.github.com/repos/TheCount/yaep/deployments","created_at":"2018-09-29T17:15:46Z","updated_at":"2018-09-29T17:15:48Z","pushed_at":"2018-10-05T20:49:41Z","git_url":"git://github.com/TheCount/yaep.git","ssh_url":"git@github.com:TheCount/yaep.git","clone_url":"https://github.com/TheCount/yaep.git","svn_url":"https://github.com/TheCount/yaep","homepage":null,"size":2942,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vnmakarov:master","ref":"master","sha":"b4a6aa88e9d645c5a89701a73866c0cd5c89c920","user":{"login":"vnmakarov","id":9855671,"node_id":"MDQ6VXNlcjk4NTU2NzE=","avatar_url":"https://avatars3.githubusercontent.com/u/9855671?v=4","gravatar_id":"","url":"https://api.github.com/users/vnmakarov","html_url":"https://github.com/vnmakarov","followers_url":"https://api.github.com/users/vnmakarov/followers","following_url":"https://api.github.com/users/vnmakarov/following{/other_user}","gists_url":"https://api.github.com/users/vnmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/vnmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnmakarov/subscriptions","organizations_url":"https://api.github.com/users/vnmakarov/orgs","repos_url":"https://api.github.com/users/vnmakarov/repos","events_url":"https://api.github.com/users/vnmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/vnmakarov/received_events","type":"User","site_admin":false},"repo":{"id":43922630,"node_id":"MDEwOlJlcG9zaXRvcnk0MzkyMjYzMA==","name":"yaep","full_name":"vnmakarov/yaep","private":false,"owner":{"login":"vnmakarov","id":9855671,"node_id":"MDQ6VXNlcjk4NTU2NzE=","avatar_url":"https://avatars3.githubusercontent.com/u/9855671?v=4","gravatar_id":"","url":"https://api.github.com/users/vnmakarov","html_url":"https://github.com/vnmakarov","followers_url":"https://api.github.com/users/vnmakarov/followers","following_url":"https://api.github.com/users/vnmakarov/following{/other_user}","gists_url":"https://api.github.com/users/vnmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/vnmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnmakarov/subscriptions","organizations_url":"https://api.github.com/users/vnmakarov/orgs","repos_url":"https://api.github.com/users/vnmakarov/repos","events_url":"https://api.github.com/users/vnmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/vnmakarov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vnmakarov/yaep","description":"Yet Another Earley Parser","fork":false,"url":"https://api.github.com/repos/vnmakarov/yaep","forks_url":"https://api.github.com/repos/vnmakarov/yaep/forks","keys_url":"https://api.github.com/repos/vnmakarov/yaep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vnmakarov/yaep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vnmakarov/yaep/teams","hooks_url":"https://api.github.com/repos/vnmakarov/yaep/hooks","issue_events_url":"https://api.github.com/repos/vnmakarov/yaep/issues/events{/number}","events_url":"https://api.github.com/repos/vnmakarov/yaep/events","assignees_url":"https://api.github.com/repos/vnmakarov/yaep/assignees{/user}","branches_url":"https://api.github.com/repos/vnmakarov/yaep/branches{/branch}","tags_url":"https://api.github.com/repos/vnmakarov/yaep/tags","blobs_url":"https://api.github.com/repos/vnmakarov/yaep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vnmakarov/yaep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vnmakarov/yaep/git/refs{/sha}","trees_url":"https://api.github.com/repos/vnmakarov/yaep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vnmakarov/yaep/statuses/{sha}","languages_url":"https://api.github.com/repos/vnmakarov/yaep/languages","stargazers_url":"https://api.github.com/repos/vnmakarov/yaep/stargazers","contributors_url":"https://api.github.com/repos/vnmakarov/yaep/contributors","subscribers_url":"https://api.github.com/repos/vnmakarov/yaep/subscribers","subscription_url":"https://api.github.com/repos/vnmakarov/yaep/subscription","commits_url":"https://api.github.com/repos/vnmakarov/yaep/commits{/sha}","git_commits_url":"https://api.github.com/repos/vnmakarov/yaep/git/commits{/sha}","comments_url":"https://api.github.com/repos/vnmakarov/yaep/comments{/number}","issue_comment_url":"https://api.github.com/repos/vnmakarov/yaep/issues/comments{/number}","contents_url":"https://api.github.com/repos/vnmakarov/yaep/contents/{+path}","compare_url":"https://api.github.com/repos/vnmakarov/yaep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vnmakarov/yaep/merges","archive_url":"https://api.github.com/repos/vnmakarov/yaep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vnmakarov/yaep/downloads","issues_url":"https://api.github.com/repos/vnmakarov/yaep/issues{/number}","pulls_url":"https://api.github.com/repos/vnmakarov/yaep/pulls{/number}","milestones_url":"https://api.github.com/repos/vnmakarov/yaep/milestones{/number}","notifications_url":"https://api.github.com/repos/vnmakarov/yaep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vnmakarov/yaep/labels{/name}","releases_url":"https://api.github.com/repos/vnmakarov/yaep/releases{/id}","deployments_url":"https://api.github.com/repos/vnmakarov/yaep/deployments","created_at":"2015-10-08T23:57:52Z","updated_at":"2018-09-30T16:09:42Z","pushed_at":"2018-10-04T15:59:12Z","git_url":"git://github.com/vnmakarov/yaep.git","ssh_url":"git@github.com:vnmakarov/yaep.git","clone_url":"https://github.com/vnmakarov/yaep.git","svn_url":"https://github.com/vnmakarov/yaep","homepage":null,"size":2886,"stargazers_count":57,"watchers_count":57,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6,"open_issues":8,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vnmakarov/yaep/pulls/16"},"html":{"href":"https://github.com/vnmakarov/yaep/pull/16"},"issue":{"href":"https://api.github.com/repos/vnmakarov/yaep/issues/16"},"comments":{"href":"https://api.github.com/repos/vnmakarov/yaep/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/vnmakarov/yaep/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/vnmakarov/yaep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vnmakarov/yaep/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/vnmakarov/yaep/statuses/93e391855bfd1bc7623c5e77f4c83cc5561d43ec"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":8,"additions":1535,"deletions":1028,"changed_files":22}}
{"actor":{"display_login":"TheCount"}}