{"action":"opened","number":74,"pull_request":{"url":"https://api.github.com/repos/nielsAD/lape/pulls/74","id":65041457,"html_url":"https://github.com/nielsAD/lape/pull/74","diff_url":"https://github.com/nielsAD/lape/pull/74.diff","patch_url":"https://github.com/nielsAD/lape/pull/74.patch","issue_url":"https://api.github.com/repos/nielsAD/lape/issues/74","number":74,"state":"open","locked":false,"title":"Add a macro \"directive\" thingy","user":{"login":"WarPie","id":1329664,"avatar_url":"https://avatars.githubusercontent.com/u/1329664?v=3","gravatar_id":"","url":"https://api.github.com/users/WarPie","html_url":"https://github.com/WarPie","followers_url":"https://api.github.com/users/WarPie/followers","following_url":"https://api.github.com/users/WarPie/following{/other_user}","gists_url":"https://api.github.com/users/WarPie/gists{/gist_id}","starred_url":"https://api.github.com/users/WarPie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WarPie/subscriptions","organizations_url":"https://api.github.com/users/WarPie/orgs","repos_url":"https://api.github.com/users/WarPie/repos","events_url":"https://api.github.com/users/WarPie/events{/privacy}","received_events_url":"https://api.github.com/users/WarPie/received_events","type":"User","site_admin":false},"body":"Adds a tad more use to the Define directive, and adds a new directive \"macro\".\r\nIt's main purpose would be to help avoid having to duplicate a code.\r\n\r\nBasic example:\r\n```\r\n{$DEFINE woop := 99*99}\r\nbegin\r\n  {$IFDEF woop}\r\n  WriteLn('We has woop!');\r\n  {$ENDIF}\r\n  \r\n  WriteLn('Woop is: ', {$macro woop});\r\nend;\r\n```","created_at":"2016-04-02T15:50:47Z","updated_at":"2016-04-02T15:50:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nielsAD/lape/pulls/74/commits","review_comments_url":"https://api.github.com/repos/nielsAD/lape/pulls/74/comments","review_comment_url":"https://api.github.com/repos/nielsAD/lape/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nielsAD/lape/issues/74/comments","statuses_url":"https://api.github.com/repos/nielsAD/lape/statuses/c84fb66aa72a5cecfbd10725257cb5367a86caf9","head":{"label":"WarPie:master","ref":"master","sha":"c84fb66aa72a5cecfbd10725257cb5367a86caf9","user":{"login":"WarPie","id":1329664,"avatar_url":"https://avatars.githubusercontent.com/u/1329664?v=3","gravatar_id":"","url":"https://api.github.com/users/WarPie","html_url":"https://github.com/WarPie","followers_url":"https://api.github.com/users/WarPie/followers","following_url":"https://api.github.com/users/WarPie/following{/other_user}","gists_url":"https://api.github.com/users/WarPie/gists{/gist_id}","starred_url":"https://api.github.com/users/WarPie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WarPie/subscriptions","organizations_url":"https://api.github.com/users/WarPie/orgs","repos_url":"https://api.github.com/users/WarPie/repos","events_url":"https://api.github.com/users/WarPie/events{/privacy}","received_events_url":"https://api.github.com/users/WarPie/received_events","type":"User","site_admin":false},"repo":{"id":55301196,"name":"lape-1","full_name":"WarPie/lape-1","owner":{"login":"WarPie","id":1329664,"avatar_url":"https://avatars.githubusercontent.com/u/1329664?v=3","gravatar_id":"","url":"https://api.github.com/users/WarPie","html_url":"https://github.com/WarPie","followers_url":"https://api.github.com/users/WarPie/followers","following_url":"https://api.github.com/users/WarPie/following{/other_user}","gists_url":"https://api.github.com/users/WarPie/gists{/gist_id}","starred_url":"https://api.github.com/users/WarPie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WarPie/subscriptions","organizations_url":"https://api.github.com/users/WarPie/orgs","repos_url":"https://api.github.com/users/WarPie/repos","events_url":"https://api.github.com/users/WarPie/events{/privacy}","received_events_url":"https://api.github.com/users/WarPie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WarPie/lape-1","description":"Scripting engine with Pascal-like syntax for FPC and Delphi","fork":true,"url":"https://api.github.com/repos/WarPie/lape-1","forks_url":"https://api.github.com/repos/WarPie/lape-1/forks","keys_url":"https://api.github.com/repos/WarPie/lape-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WarPie/lape-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WarPie/lape-1/teams","hooks_url":"https://api.github.com/repos/WarPie/lape-1/hooks","issue_events_url":"https://api.github.com/repos/WarPie/lape-1/issues/events{/number}","events_url":"https://api.github.com/repos/WarPie/lape-1/events","assignees_url":"https://api.github.com/repos/WarPie/lape-1/assignees{/user}","branches_url":"https://api.github.com/repos/WarPie/lape-1/branches{/branch}","tags_url":"https://api.github.com/repos/WarPie/lape-1/tags","blobs_url":"https://api.github.com/repos/WarPie/lape-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WarPie/lape-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WarPie/lape-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/WarPie/lape-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WarPie/lape-1/statuses/{sha}","languages_url":"https://api.github.com/repos/WarPie/lape-1/languages","stargazers_url":"https://api.github.com/repos/WarPie/lape-1/stargazers","contributors_url":"https://api.github.com/repos/WarPie/lape-1/contributors","subscribers_url":"https://api.github.com/repos/WarPie/lape-1/subscribers","subscription_url":"https://api.github.com/repos/WarPie/lape-1/subscription","commits_url":"https://api.github.com/repos/WarPie/lape-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/WarPie/lape-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/WarPie/lape-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/WarPie/lape-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/WarPie/lape-1/contents/{+path}","compare_url":"https://api.github.com/repos/WarPie/lape-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WarPie/lape-1/merges","archive_url":"https://api.github.com/repos/WarPie/lape-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WarPie/lape-1/downloads","issues_url":"https://api.github.com/repos/WarPie/lape-1/issues{/number}","pulls_url":"https://api.github.com/repos/WarPie/lape-1/pulls{/number}","milestones_url":"https://api.github.com/repos/WarPie/lape-1/milestones{/number}","notifications_url":"https://api.github.com/repos/WarPie/lape-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WarPie/lape-1/labels{/name}","releases_url":"https://api.github.com/repos/WarPie/lape-1/releases{/id}","deployments_url":"https://api.github.com/repos/WarPie/lape-1/deployments","created_at":"2016-04-02T15:17:55Z","updated_at":"2016-04-02T15:17:58Z","pushed_at":"2016-04-02T15:45:39Z","git_url":"git://github.com/WarPie/lape-1.git","ssh_url":"git@github.com:WarPie/lape-1.git","clone_url":"https://github.com/WarPie/lape-1.git","svn_url":"https://github.com/WarPie/lape-1","homepage":"","size":5003,"stargazers_count":0,"watchers_count":0,"language":"Pascal","has_issues":false,"has_downloads":false,"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":"nielsAD:master","ref":"master","sha":"70bdbe354be833d51ab3fd79ab6743259f25a7d1","user":{"login":"nielsAD","id":578193,"avatar_url":"https://avatars.githubusercontent.com/u/578193?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsAD","html_url":"https://github.com/nielsAD","followers_url":"https://api.github.com/users/nielsAD/followers","following_url":"https://api.github.com/users/nielsAD/following{/other_user}","gists_url":"https://api.github.com/users/nielsAD/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsAD/subscriptions","organizations_url":"https://api.github.com/users/nielsAD/orgs","repos_url":"https://api.github.com/users/nielsAD/repos","events_url":"https://api.github.com/users/nielsAD/events{/privacy}","received_events_url":"https://api.github.com/users/nielsAD/received_events","type":"User","site_admin":false},"repo":{"id":32642074,"name":"lape","full_name":"nielsAD/lape","owner":{"login":"nielsAD","id":578193,"avatar_url":"https://avatars.githubusercontent.com/u/578193?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsAD","html_url":"https://github.com/nielsAD","followers_url":"https://api.github.com/users/nielsAD/followers","following_url":"https://api.github.com/users/nielsAD/following{/other_user}","gists_url":"https://api.github.com/users/nielsAD/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsAD/subscriptions","organizations_url":"https://api.github.com/users/nielsAD/orgs","repos_url":"https://api.github.com/users/nielsAD/repos","events_url":"https://api.github.com/users/nielsAD/events{/privacy}","received_events_url":"https://api.github.com/users/nielsAD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nielsAD/lape","description":"Scripting engine with Pascal-like syntax for FPC and Delphi","fork":false,"url":"https://api.github.com/repos/nielsAD/lape","forks_url":"https://api.github.com/repos/nielsAD/lape/forks","keys_url":"https://api.github.com/repos/nielsAD/lape/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nielsAD/lape/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nielsAD/lape/teams","hooks_url":"https://api.github.com/repos/nielsAD/lape/hooks","issue_events_url":"https://api.github.com/repos/nielsAD/lape/issues/events{/number}","events_url":"https://api.github.com/repos/nielsAD/lape/events","assignees_url":"https://api.github.com/repos/nielsAD/lape/assignees{/user}","branches_url":"https://api.github.com/repos/nielsAD/lape/branches{/branch}","tags_url":"https://api.github.com/repos/nielsAD/lape/tags","blobs_url":"https://api.github.com/repos/nielsAD/lape/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nielsAD/lape/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nielsAD/lape/git/refs{/sha}","trees_url":"https://api.github.com/repos/nielsAD/lape/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nielsAD/lape/statuses/{sha}","languages_url":"https://api.github.com/repos/nielsAD/lape/languages","stargazers_url":"https://api.github.com/repos/nielsAD/lape/stargazers","contributors_url":"https://api.github.com/repos/nielsAD/lape/contributors","subscribers_url":"https://api.github.com/repos/nielsAD/lape/subscribers","subscription_url":"https://api.github.com/repos/nielsAD/lape/subscription","commits_url":"https://api.github.com/repos/nielsAD/lape/commits{/sha}","git_commits_url":"https://api.github.com/repos/nielsAD/lape/git/commits{/sha}","comments_url":"https://api.github.com/repos/nielsAD/lape/comments{/number}","issue_comment_url":"https://api.github.com/repos/nielsAD/lape/issues/comments{/number}","contents_url":"https://api.github.com/repos/nielsAD/lape/contents/{+path}","compare_url":"https://api.github.com/repos/nielsAD/lape/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nielsAD/lape/merges","archive_url":"https://api.github.com/repos/nielsAD/lape/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nielsAD/lape/downloads","issues_url":"https://api.github.com/repos/nielsAD/lape/issues{/number}","pulls_url":"https://api.github.com/repos/nielsAD/lape/pulls{/number}","milestones_url":"https://api.github.com/repos/nielsAD/lape/milestones{/number}","notifications_url":"https://api.github.com/repos/nielsAD/lape/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nielsAD/lape/labels{/name}","releases_url":"https://api.github.com/repos/nielsAD/lape/releases{/id}","deployments_url":"https://api.github.com/repos/nielsAD/lape/deployments","created_at":"2015-03-21T17:24:05Z","updated_at":"2016-04-02T12:07:33Z","pushed_at":"2016-02-27T16:28:32Z","git_url":"git://github.com/nielsAD/lape.git","ssh_url":"git@github.com:nielsAD/lape.git","clone_url":"https://github.com/nielsAD/lape.git","svn_url":"https://github.com/nielsAD/lape","homepage":"","size":5429,"stargazers_count":8,"watchers_count":8,"language":"Pascal","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nielsAD/lape/pulls/74"},"html":{"href":"https://github.com/nielsAD/lape/pull/74"},"issue":{"href":"https://api.github.com/repos/nielsAD/lape/issues/74"},"comments":{"href":"https://api.github.com/repos/nielsAD/lape/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/nielsAD/lape/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/nielsAD/lape/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nielsAD/lape/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/nielsAD/lape/statuses/c84fb66aa72a5cecfbd10725257cb5367a86caf9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":11,"changed_files":2}}