{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32","id":42158112,"html_url":"https://github.com/swmaestro06-apus/apus/pull/32","diff_url":"https://github.com/swmaestro06-apus/apus/pull/32.diff","patch_url":"https://github.com/swmaestro06-apus/apus/pull/32.patch","issue_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/32","number":32,"state":"open","locked":false,"title":"VM: Added skeleton of virtual machine -v3","user":{"login":"enghqii","id":2420985,"avatar_url":"https://avatars.githubusercontent.com/u/2420985?v=3","gravatar_id":"","url":"https://api.github.com/users/enghqii","html_url":"https://github.com/enghqii","followers_url":"https://api.github.com/users/enghqii/followers","following_url":"https://api.github.com/users/enghqii/following{/other_user}","gists_url":"https://api.github.com/users/enghqii/gists{/gist_id}","starred_url":"https://api.github.com/users/enghqii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enghqii/subscriptions","organizations_url":"https://api.github.com/users/enghqii/orgs","repos_url":"https://api.github.com/users/enghqii/repos","events_url":"https://api.github.com/users/enghqii/events{/privacy}","received_events_url":"https://api.github.com/users/enghqii/received_events","type":"User","site_admin":false},"body":"추상 문법 트리를 구성하게 될 Expression, Value, Statement 클래스들과 그 파생 클래스들을 추가했습니다.\r\n\r\nExpression 클래스는 UnaryExpression, BinaryExpression으로 파생됩니다. 이는 각각 단항 연산과 이항 연산에 대응합니다.\r\n\r\nValue클래스들은 각 타입에 따라 파생시킬 것 입니다.\r\n\r\nStatement 클래스들은 각 action_declaration과 대응됩니다. if문, for문등이 각각 Statement객체가 되며, 최종 vm의 인풋은 이 Statement들의 리스트일 것으로 계획하고 있습니다.\r\n\r\nStatement::Execute(), Expression::Evaluate() 함수의 매개변수로 Context& 를 넣어줬습니다. 앞으로 Context는 VM이 동작할 환경 데이터를 가지고 있을 것입니다 (DataTypeTable, VariableTable, FunctionTable)\r\n\r\n**EDIT**\r\n\r\nForStatement의 생성자에서 Block도 같이 받게 수정했습니다.\r\n\r\nVM이 가질 수 있는 세가지 테이블 클래스(DataType/Function/Variable Table)를 만들고, Context의 멤버로 가지게 했습니다. ","created_at":"2015-08-11T17:58:57Z","updated_at":"2015-08-11T17:58:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32/commits","review_comments_url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32/comments","review_comment_url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/32/comments","statuses_url":"https://api.github.com/repos/swmaestro06-apus/apus/statuses/5e4b6b11bda21abace0817a5e426147af259a58a","head":{"label":"swmaestro06-apus:chanwoo/virtual_machine-v3","ref":"chanwoo/virtual_machine-v3","sha":"5e4b6b11bda21abace0817a5e426147af259a58a","user":{"login":"swmaestro06-apus","id":13348818,"avatar_url":"https://avatars.githubusercontent.com/u/13348818?v=3","gravatar_id":"","url":"https://api.github.com/users/swmaestro06-apus","html_url":"https://github.com/swmaestro06-apus","followers_url":"https://api.github.com/users/swmaestro06-apus/followers","following_url":"https://api.github.com/users/swmaestro06-apus/following{/other_user}","gists_url":"https://api.github.com/users/swmaestro06-apus/gists{/gist_id}","starred_url":"https://api.github.com/users/swmaestro06-apus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swmaestro06-apus/subscriptions","organizations_url":"https://api.github.com/users/swmaestro06-apus/orgs","repos_url":"https://api.github.com/users/swmaestro06-apus/repos","events_url":"https://api.github.com/users/swmaestro06-apus/events{/privacy}","received_events_url":"https://api.github.com/users/swmaestro06-apus/received_events","type":"Organization","site_admin":false},"repo":{"id":39132675,"name":"apus","full_name":"swmaestro06-apus/apus","owner":{"login":"swmaestro06-apus","id":13348818,"avatar_url":"https://avatars.githubusercontent.com/u/13348818?v=3","gravatar_id":"","url":"https://api.github.com/users/swmaestro06-apus","html_url":"https://github.com/swmaestro06-apus","followers_url":"https://api.github.com/users/swmaestro06-apus/followers","following_url":"https://api.github.com/users/swmaestro06-apus/following{/other_user}","gists_url":"https://api.github.com/users/swmaestro06-apus/gists{/gist_id}","starred_url":"https://api.github.com/users/swmaestro06-apus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swmaestro06-apus/subscriptions","organizations_url":"https://api.github.com/users/swmaestro06-apus/orgs","repos_url":"https://api.github.com/users/swmaestro06-apus/repos","events_url":"https://api.github.com/users/swmaestro06-apus/events{/privacy}","received_events_url":"https://api.github.com/users/swmaestro06-apus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swmaestro06-apus/apus","description":"apus program. it's a binary parser using programmable formats.","fork":false,"url":"https://api.github.com/repos/swmaestro06-apus/apus","forks_url":"https://api.github.com/repos/swmaestro06-apus/apus/forks","keys_url":"https://api.github.com/repos/swmaestro06-apus/apus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swmaestro06-apus/apus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swmaestro06-apus/apus/teams","hooks_url":"https://api.github.com/repos/swmaestro06-apus/apus/hooks","issue_events_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/events{/number}","events_url":"https://api.github.com/repos/swmaestro06-apus/apus/events","assignees_url":"https://api.github.com/repos/swmaestro06-apus/apus/assignees{/user}","branches_url":"https://api.github.com/repos/swmaestro06-apus/apus/branches{/branch}","tags_url":"https://api.github.com/repos/swmaestro06-apus/apus/tags","blobs_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/refs{/sha}","trees_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swmaestro06-apus/apus/statuses/{sha}","languages_url":"https://api.github.com/repos/swmaestro06-apus/apus/languages","stargazers_url":"https://api.github.com/repos/swmaestro06-apus/apus/stargazers","contributors_url":"https://api.github.com/repos/swmaestro06-apus/apus/contributors","subscribers_url":"https://api.github.com/repos/swmaestro06-apus/apus/subscribers","subscription_url":"https://api.github.com/repos/swmaestro06-apus/apus/subscription","commits_url":"https://api.github.com/repos/swmaestro06-apus/apus/commits{/sha}","git_commits_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/commits{/sha}","comments_url":"https://api.github.com/repos/swmaestro06-apus/apus/comments{/number}","issue_comment_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/comments{/number}","contents_url":"https://api.github.com/repos/swmaestro06-apus/apus/contents/{+path}","compare_url":"https://api.github.com/repos/swmaestro06-apus/apus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swmaestro06-apus/apus/merges","archive_url":"https://api.github.com/repos/swmaestro06-apus/apus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swmaestro06-apus/apus/downloads","issues_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues{/number}","pulls_url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls{/number}","milestones_url":"https://api.github.com/repos/swmaestro06-apus/apus/milestones{/number}","notifications_url":"https://api.github.com/repos/swmaestro06-apus/apus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swmaestro06-apus/apus/labels{/name}","releases_url":"https://api.github.com/repos/swmaestro06-apus/apus/releases{/id}","created_at":"2015-07-15T11:15:18Z","updated_at":"2015-08-04T03:54:32Z","pushed_at":"2015-08-11T17:52:10Z","git_url":"git://github.com/swmaestro06-apus/apus.git","ssh_url":"git@github.com:swmaestro06-apus/apus.git","clone_url":"https://github.com/swmaestro06-apus/apus.git","svn_url":"https://github.com/swmaestro06-apus/apus","homepage":null,"size":7894,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":1,"default_branch":"master"}},"base":{"label":"swmaestro06-apus:master","ref":"master","sha":"811e09e4b69a37c28a5033a9e83355f19cd6d06f","user":{"login":"swmaestro06-apus","id":13348818,"avatar_url":"https://avatars.githubusercontent.com/u/13348818?v=3","gravatar_id":"","url":"https://api.github.com/users/swmaestro06-apus","html_url":"https://github.com/swmaestro06-apus","followers_url":"https://api.github.com/users/swmaestro06-apus/followers","following_url":"https://api.github.com/users/swmaestro06-apus/following{/other_user}","gists_url":"https://api.github.com/users/swmaestro06-apus/gists{/gist_id}","starred_url":"https://api.github.com/users/swmaestro06-apus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swmaestro06-apus/subscriptions","organizations_url":"https://api.github.com/users/swmaestro06-apus/orgs","repos_url":"https://api.github.com/users/swmaestro06-apus/repos","events_url":"https://api.github.com/users/swmaestro06-apus/events{/privacy}","received_events_url":"https://api.github.com/users/swmaestro06-apus/received_events","type":"Organization","site_admin":false},"repo":{"id":39132675,"name":"apus","full_name":"swmaestro06-apus/apus","owner":{"login":"swmaestro06-apus","id":13348818,"avatar_url":"https://avatars.githubusercontent.com/u/13348818?v=3","gravatar_id":"","url":"https://api.github.com/users/swmaestro06-apus","html_url":"https://github.com/swmaestro06-apus","followers_url":"https://api.github.com/users/swmaestro06-apus/followers","following_url":"https://api.github.com/users/swmaestro06-apus/following{/other_user}","gists_url":"https://api.github.com/users/swmaestro06-apus/gists{/gist_id}","starred_url":"https://api.github.com/users/swmaestro06-apus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swmaestro06-apus/subscriptions","organizations_url":"https://api.github.com/users/swmaestro06-apus/orgs","repos_url":"https://api.github.com/users/swmaestro06-apus/repos","events_url":"https://api.github.com/users/swmaestro06-apus/events{/privacy}","received_events_url":"https://api.github.com/users/swmaestro06-apus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swmaestro06-apus/apus","description":"apus program. it's a binary parser using programmable formats.","fork":false,"url":"https://api.github.com/repos/swmaestro06-apus/apus","forks_url":"https://api.github.com/repos/swmaestro06-apus/apus/forks","keys_url":"https://api.github.com/repos/swmaestro06-apus/apus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swmaestro06-apus/apus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swmaestro06-apus/apus/teams","hooks_url":"https://api.github.com/repos/swmaestro06-apus/apus/hooks","issue_events_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/events{/number}","events_url":"https://api.github.com/repos/swmaestro06-apus/apus/events","assignees_url":"https://api.github.com/repos/swmaestro06-apus/apus/assignees{/user}","branches_url":"https://api.github.com/repos/swmaestro06-apus/apus/branches{/branch}","tags_url":"https://api.github.com/repos/swmaestro06-apus/apus/tags","blobs_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/refs{/sha}","trees_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swmaestro06-apus/apus/statuses/{sha}","languages_url":"https://api.github.com/repos/swmaestro06-apus/apus/languages","stargazers_url":"https://api.github.com/repos/swmaestro06-apus/apus/stargazers","contributors_url":"https://api.github.com/repos/swmaestro06-apus/apus/contributors","subscribers_url":"https://api.github.com/repos/swmaestro06-apus/apus/subscribers","subscription_url":"https://api.github.com/repos/swmaestro06-apus/apus/subscription","commits_url":"https://api.github.com/repos/swmaestro06-apus/apus/commits{/sha}","git_commits_url":"https://api.github.com/repos/swmaestro06-apus/apus/git/commits{/sha}","comments_url":"https://api.github.com/repos/swmaestro06-apus/apus/comments{/number}","issue_comment_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/comments{/number}","contents_url":"https://api.github.com/repos/swmaestro06-apus/apus/contents/{+path}","compare_url":"https://api.github.com/repos/swmaestro06-apus/apus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swmaestro06-apus/apus/merges","archive_url":"https://api.github.com/repos/swmaestro06-apus/apus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swmaestro06-apus/apus/downloads","issues_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues{/number}","pulls_url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls{/number}","milestones_url":"https://api.github.com/repos/swmaestro06-apus/apus/milestones{/number}","notifications_url":"https://api.github.com/repos/swmaestro06-apus/apus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swmaestro06-apus/apus/labels{/name}","releases_url":"https://api.github.com/repos/swmaestro06-apus/apus/releases{/id}","created_at":"2015-07-15T11:15:18Z","updated_at":"2015-08-04T03:54:32Z","pushed_at":"2015-08-11T17:52:10Z","git_url":"git://github.com/swmaestro06-apus/apus.git","ssh_url":"git@github.com:swmaestro06-apus/apus.git","clone_url":"https://github.com/swmaestro06-apus/apus.git","svn_url":"https://github.com/swmaestro06-apus/apus","homepage":null,"size":7894,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32"},"html":{"href":"https://github.com/swmaestro06-apus/apus/pull/32"},"issue":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/issues/32"},"comments":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/swmaestro06-apus/apus/statuses/5e4b6b11bda21abace0817a5e426147af259a58a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":1285,"deletions":0,"changed_files":34}}