{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7","id":32737993,"html_url":"https://github.com/peterhuene/puppetcpp/pull/7","diff_url":"https://github.com/peterhuene/puppetcpp/pull/7.diff","patch_url":"https://github.com/peterhuene/puppetcpp/pull/7.patch","issue_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/7","number":7,"state":"open","locked":false,"title":"Implement function calls.","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"body":"Implementing function calls and yielding to lambdas.\r\n\r\nThe following Puppet functions are now implemented:\r\n\r\n* alert\r\n* crit\r\n* debug\r\n* emerg\r\n* err\r\n* fail\r\n* info\r\n* notice\r\n* warning\r\n* with\r\n\r\nLambda parameter type validation is not still unimplemented.\r\n\r\nThis commit also changes the output format to better match Puppet's.\r\n\r\nAdditionally, the AST is now \"read-only\".  This was needed to allow\r\nlambda bodies to be executed more than once.","created_at":"2015-04-07T06:58:41Z","updated_at":"2015-04-07T06:58:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7/commits","review_comments_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7/comments","review_comment_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/7/comments","statuses_url":"https://api.github.com/repos/peterhuene/puppetcpp/statuses/0322dda3b05eff765df3528cdea845ebb7bb1447","head":{"label":"peterhuene:expression-evaluation","ref":"expression-evaluation","sha":"0322dda3b05eff765df3528cdea845ebb7bb1447","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"repo":{"id":27908832,"name":"puppetcpp","full_name":"peterhuene/puppetcpp","owner":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhuene/puppetcpp","description":"Toying around with a Puppet compiler written in C++","fork":false,"url":"https://api.github.com/repos/peterhuene/puppetcpp","forks_url":"https://api.github.com/repos/peterhuene/puppetcpp/forks","keys_url":"https://api.github.com/repos/peterhuene/puppetcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhuene/puppetcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhuene/puppetcpp/teams","hooks_url":"https://api.github.com/repos/peterhuene/puppetcpp/hooks","issue_events_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/events{/number}","events_url":"https://api.github.com/repos/peterhuene/puppetcpp/events","assignees_url":"https://api.github.com/repos/peterhuene/puppetcpp/assignees{/user}","branches_url":"https://api.github.com/repos/peterhuene/puppetcpp/branches{/branch}","tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/tags","blobs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhuene/puppetcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhuene/puppetcpp/languages","stargazers_url":"https://api.github.com/repos/peterhuene/puppetcpp/stargazers","contributors_url":"https://api.github.com/repos/peterhuene/puppetcpp/contributors","subscribers_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscribers","subscription_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscription","commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhuene/puppetcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhuene/puppetcpp/contents/{+path}","compare_url":"https://api.github.com/repos/peterhuene/puppetcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhuene/puppetcpp/merges","archive_url":"https://api.github.com/repos/peterhuene/puppetcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhuene/puppetcpp/downloads","issues_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues{/number}","pulls_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhuene/puppetcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhuene/puppetcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhuene/puppetcpp/labels{/name}","releases_url":"https://api.github.com/repos/peterhuene/puppetcpp/releases{/id}","created_at":"2014-12-12T06:45:53Z","updated_at":"2015-04-05T09:11:22Z","pushed_at":"2015-04-07T06:58:41Z","git_url":"git://github.com/peterhuene/puppetcpp.git","ssh_url":"git@github.com:peterhuene/puppetcpp.git","clone_url":"https://github.com/peterhuene/puppetcpp.git","svn_url":"https://github.com/peterhuene/puppetcpp","homepage":null,"size":1011,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"peterhuene:master","ref":"master","sha":"0ad775535905477618ce3955a3ad9968ce616569","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"repo":{"id":27908832,"name":"puppetcpp","full_name":"peterhuene/puppetcpp","owner":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhuene/puppetcpp","description":"Toying around with a Puppet compiler written in C++","fork":false,"url":"https://api.github.com/repos/peterhuene/puppetcpp","forks_url":"https://api.github.com/repos/peterhuene/puppetcpp/forks","keys_url":"https://api.github.com/repos/peterhuene/puppetcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhuene/puppetcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhuene/puppetcpp/teams","hooks_url":"https://api.github.com/repos/peterhuene/puppetcpp/hooks","issue_events_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/events{/number}","events_url":"https://api.github.com/repos/peterhuene/puppetcpp/events","assignees_url":"https://api.github.com/repos/peterhuene/puppetcpp/assignees{/user}","branches_url":"https://api.github.com/repos/peterhuene/puppetcpp/branches{/branch}","tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/tags","blobs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhuene/puppetcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhuene/puppetcpp/languages","stargazers_url":"https://api.github.com/repos/peterhuene/puppetcpp/stargazers","contributors_url":"https://api.github.com/repos/peterhuene/puppetcpp/contributors","subscribers_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscribers","subscription_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscription","commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhuene/puppetcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhuene/puppetcpp/contents/{+path}","compare_url":"https://api.github.com/repos/peterhuene/puppetcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhuene/puppetcpp/merges","archive_url":"https://api.github.com/repos/peterhuene/puppetcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhuene/puppetcpp/downloads","issues_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues{/number}","pulls_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhuene/puppetcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhuene/puppetcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhuene/puppetcpp/labels{/name}","releases_url":"https://api.github.com/repos/peterhuene/puppetcpp/releases{/id}","created_at":"2014-12-12T06:45:53Z","updated_at":"2015-04-05T09:11:22Z","pushed_at":"2015-04-07T06:58:41Z","git_url":"git://github.com/peterhuene/puppetcpp.git","ssh_url":"git@github.com:peterhuene/puppetcpp.git","clone_url":"https://github.com/peterhuene/puppetcpp.git","svn_url":"https://github.com/peterhuene/puppetcpp","homepage":null,"size":1011,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7"},"html":{"href":"https://github.com/peterhuene/puppetcpp/pull/7"},"issue":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/issues/7"},"comments":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/peterhuene/puppetcpp/statuses/0322dda3b05eff765df3528cdea845ebb7bb1447"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":687,"deletions":1073,"changed_files":78}}