{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/markdryan/subtilis/pulls/48","id":180175850,"html_url":"https://github.com/markdryan/subtilis/pull/48","diff_url":"https://github.com/markdryan/subtilis/pull/48.diff","patch_url":"https://github.com/markdryan/subtilis/pull/48.patch","issue_url":"https://api.github.com/repos/markdryan/subtilis/issues/48","number":48,"state":"open","locked":false,"title":"Procedure","user":{"login":"markdryan","id":984073,"avatar_url":"https://avatars3.githubusercontent.com/u/984073?v=4","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"body":"This PR adds basic support for procedures.  There are no parameters\r\nyet nor are there any local variables.  You can however call procedures\r\ndefined within the same source file.  This is a big change which required\r\nmodifications to all aspects of the compiler.  I also needed to modify\r\nthe arm test harness to accept encoded machine code as its input\r\nrather than the internal representation of an arm program.  This needed\r\nto be done as linking takes place during the encoding phase, currently.\r\nThis required the addition of a basic ARM dissasembler,","created_at":"2018-04-08T19:27:55Z","updated_at":"2018-04-08T19:27:55Z","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/markdryan/subtilis/pulls/48/commits","review_comments_url":"https://api.github.com/repos/markdryan/subtilis/pulls/48/comments","review_comment_url":"https://api.github.com/repos/markdryan/subtilis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/markdryan/subtilis/issues/48/comments","statuses_url":"https://api.github.com/repos/markdryan/subtilis/statuses/f8d9ccb2786b1cf91c316b6d86236099fd9f08a1","head":{"label":"markdryan:procedure","ref":"procedure","sha":"f8d9ccb2786b1cf91c316b6d86236099fd9f08a1","user":{"login":"markdryan","id":984073,"avatar_url":"https://avatars3.githubusercontent.com/u/984073?v=4","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"repo":{"id":98354840,"name":"subtilis","full_name":"markdryan/subtilis","owner":{"login":"markdryan","id":984073,"avatar_url":"https://avatars3.githubusercontent.com/u/984073?v=4","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markdryan/subtilis","description":"BASIC compiler for retro computers","fork":false,"url":"https://api.github.com/repos/markdryan/subtilis","forks_url":"https://api.github.com/repos/markdryan/subtilis/forks","keys_url":"https://api.github.com/repos/markdryan/subtilis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markdryan/subtilis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markdryan/subtilis/teams","hooks_url":"https://api.github.com/repos/markdryan/subtilis/hooks","issue_events_url":"https://api.github.com/repos/markdryan/subtilis/issues/events{/number}","events_url":"https://api.github.com/repos/markdryan/subtilis/events","assignees_url":"https://api.github.com/repos/markdryan/subtilis/assignees{/user}","branches_url":"https://api.github.com/repos/markdryan/subtilis/branches{/branch}","tags_url":"https://api.github.com/repos/markdryan/subtilis/tags","blobs_url":"https://api.github.com/repos/markdryan/subtilis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markdryan/subtilis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markdryan/subtilis/git/refs{/sha}","trees_url":"https://api.github.com/repos/markdryan/subtilis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markdryan/subtilis/statuses/{sha}","languages_url":"https://api.github.com/repos/markdryan/subtilis/languages","stargazers_url":"https://api.github.com/repos/markdryan/subtilis/stargazers","contributors_url":"https://api.github.com/repos/markdryan/subtilis/contributors","subscribers_url":"https://api.github.com/repos/markdryan/subtilis/subscribers","subscription_url":"https://api.github.com/repos/markdryan/subtilis/subscription","commits_url":"https://api.github.com/repos/markdryan/subtilis/commits{/sha}","git_commits_url":"https://api.github.com/repos/markdryan/subtilis/git/commits{/sha}","comments_url":"https://api.github.com/repos/markdryan/subtilis/comments{/number}","issue_comment_url":"https://api.github.com/repos/markdryan/subtilis/issues/comments{/number}","contents_url":"https://api.github.com/repos/markdryan/subtilis/contents/{+path}","compare_url":"https://api.github.com/repos/markdryan/subtilis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markdryan/subtilis/merges","archive_url":"https://api.github.com/repos/markdryan/subtilis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markdryan/subtilis/downloads","issues_url":"https://api.github.com/repos/markdryan/subtilis/issues{/number}","pulls_url":"https://api.github.com/repos/markdryan/subtilis/pulls{/number}","milestones_url":"https://api.github.com/repos/markdryan/subtilis/milestones{/number}","notifications_url":"https://api.github.com/repos/markdryan/subtilis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markdryan/subtilis/labels{/name}","releases_url":"https://api.github.com/repos/markdryan/subtilis/releases{/id}","deployments_url":"https://api.github.com/repos/markdryan/subtilis/deployments","created_at":"2017-07-25T22:22:03Z","updated_at":"2017-12-18T17:25:51Z","pushed_at":"2018-04-08T19:01:13Z","git_url":"git://github.com/markdryan/subtilis.git","ssh_url":"git@github.com:markdryan/subtilis.git","clone_url":"https://github.com/markdryan/subtilis.git","svn_url":"https://github.com/markdryan/subtilis","homepage":"","size":251,"stargazers_count":0,"watchers_count":0,"language":"C","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"markdryan:master","ref":"master","sha":"e9418978f3e8d649214feb37b60edba989d82e85","user":{"login":"markdryan","id":984073,"avatar_url":"https://avatars3.githubusercontent.com/u/984073?v=4","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"repo":{"id":98354840,"name":"subtilis","full_name":"markdryan/subtilis","owner":{"login":"markdryan","id":984073,"avatar_url":"https://avatars3.githubusercontent.com/u/984073?v=4","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markdryan/subtilis","description":"BASIC compiler for retro computers","fork":false,"url":"https://api.github.com/repos/markdryan/subtilis","forks_url":"https://api.github.com/repos/markdryan/subtilis/forks","keys_url":"https://api.github.com/repos/markdryan/subtilis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markdryan/subtilis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markdryan/subtilis/teams","hooks_url":"https://api.github.com/repos/markdryan/subtilis/hooks","issue_events_url":"https://api.github.com/repos/markdryan/subtilis/issues/events{/number}","events_url":"https://api.github.com/repos/markdryan/subtilis/events","assignees_url":"https://api.github.com/repos/markdryan/subtilis/assignees{/user}","branches_url":"https://api.github.com/repos/markdryan/subtilis/branches{/branch}","tags_url":"https://api.github.com/repos/markdryan/subtilis/tags","blobs_url":"https://api.github.com/repos/markdryan/subtilis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markdryan/subtilis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markdryan/subtilis/git/refs{/sha}","trees_url":"https://api.github.com/repos/markdryan/subtilis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markdryan/subtilis/statuses/{sha}","languages_url":"https://api.github.com/repos/markdryan/subtilis/languages","stargazers_url":"https://api.github.com/repos/markdryan/subtilis/stargazers","contributors_url":"https://api.github.com/repos/markdryan/subtilis/contributors","subscribers_url":"https://api.github.com/repos/markdryan/subtilis/subscribers","subscription_url":"https://api.github.com/repos/markdryan/subtilis/subscription","commits_url":"https://api.github.com/repos/markdryan/subtilis/commits{/sha}","git_commits_url":"https://api.github.com/repos/markdryan/subtilis/git/commits{/sha}","comments_url":"https://api.github.com/repos/markdryan/subtilis/comments{/number}","issue_comment_url":"https://api.github.com/repos/markdryan/subtilis/issues/comments{/number}","contents_url":"https://api.github.com/repos/markdryan/subtilis/contents/{+path}","compare_url":"https://api.github.com/repos/markdryan/subtilis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markdryan/subtilis/merges","archive_url":"https://api.github.com/repos/markdryan/subtilis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markdryan/subtilis/downloads","issues_url":"https://api.github.com/repos/markdryan/subtilis/issues{/number}","pulls_url":"https://api.github.com/repos/markdryan/subtilis/pulls{/number}","milestones_url":"https://api.github.com/repos/markdryan/subtilis/milestones{/number}","notifications_url":"https://api.github.com/repos/markdryan/subtilis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markdryan/subtilis/labels{/name}","releases_url":"https://api.github.com/repos/markdryan/subtilis/releases{/id}","deployments_url":"https://api.github.com/repos/markdryan/subtilis/deployments","created_at":"2017-07-25T22:22:03Z","updated_at":"2017-12-18T17:25:51Z","pushed_at":"2018-04-08T19:01:13Z","git_url":"git://github.com/markdryan/subtilis.git","ssh_url":"git@github.com:markdryan/subtilis.git","clone_url":"https://github.com/markdryan/subtilis.git","svn_url":"https://github.com/markdryan/subtilis","homepage":"","size":251,"stargazers_count":0,"watchers_count":0,"language":"C","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/markdryan/subtilis/pulls/48"},"html":{"href":"https://github.com/markdryan/subtilis/pull/48"},"issue":{"href":"https://api.github.com/repos/markdryan/subtilis/issues/48"},"comments":{"href":"https://api.github.com/repos/markdryan/subtilis/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/markdryan/subtilis/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/markdryan/subtilis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/markdryan/subtilis/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/markdryan/subtilis/statuses/f8d9ccb2786b1cf91c316b6d86236099fd9f08a1"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":4147,"deletions":932,"changed_files":53}}
{"actor":{"display_login":"markdryan"}}