{"action":"created","issue":{"url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/119","labels_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/119/comments","events_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/119/events","html_url":"https://github.com/swmaestro06-apus/apus/pull/119","id":103443061,"number":119,"title":"Chanwoo/var merge v2","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-27T07:05:37Z","updated_at":"2015-08-27T07:07:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swmaestro06-apus/apus/pulls/119","html_url":"https://github.com/swmaestro06-apus/apus/pull/119","diff_url":"https://github.com/swmaestro06-apus/apus/pull/119.diff","patch_url":"https://github.com/swmaestro06-apus/apus/pull/119.patch"},"body":" 1 .  VarDefStatement의 생성자를 yacc의 rule에 맞게 수정했습니다.\r\n\r\n 2 .  #86 에 언급한대로 context 를 구현했습니다. (테이블 추가, BlockBegin/End)\r\n\r\n++ break, continue, return 과 같은 점프 플래그들은 DataTypeTable처럼 최상위 부모가 실체를 가지고 있고, 나머지 자식들이 이에 대한 포인터를 가지고 있어, 어느 context든 같은 플래그를 공유하게 했습니다. (break, continue같은 경우에는 한 단계만 더 전달하면 되지만, 앞으로 구현할 return의 경우, 함수 실행시 context까지 전달해야 하는데 이를 판단하기 어려울것이라고 생각해서 위처럼 구현했습니다.) break/continue는 ForStatement가 종료될때 플래그를 꺼 줍니다, return플래그는 FunctionExpression이 종료될때 플래그를 꺼주도록 구현할 예정입니다.\r\n\r\n 3 .  변수와 관련 있는 expression 들의 내용을 채워넣었습니다. (VariableExpression, AssignExpression)\r\n\r\n 4 . 위에서 수정, 생성한 클래스에 맞춰 Yacc action코드를 추가했습니다. \r\n\r\n++ VM인스턴스에 DataTypeTable을 전달하기 위해 ('program'에서의 action code) ParserContext에 VM의 인스턴스를 전달했습니다. \r\n\r\n 5 . 테스트 코드들을 추가했습니다.\r\n\r\n( cout으로 출력하던 로그도 지웠습니다)"},"comment":{"url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/comments/135316732","html_url":"https://github.com/swmaestro06-apus/apus/pull/119#issuecomment-135316732","issue_url":"https://api.github.com/repos/swmaestro06-apus/apus/issues/119","id":135316732,"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},"created_at":"2015-08-27T07:07:14Z","updated_at":"2015-08-27T07:07:14Z","body":"왠지 모르겠는데 깃헙에서는 마지막 두개 커밋이 순서가 바뀌어서 보이네요\r\n\r\ngit log --oneline 한 결과는 이렇습니다\r\n```\r\n1312b89 Test: For test added\r\na0229ee VM: Changed Context's Jump flags into pointers\r\n68ce85a Yacc: Test: Updated action code for variable\r\n5d30215 Expr: VarExpr, AssignExpr implemented\r\n3965dfd Context: Added BlockBegin/End\r\n9b4394f Stmt: Updated 'VarDefStatement's constructors\r\n83a31bc Merge pull request #117 from swmaestro06-apus/chanwoo/string_promote\r\n```"}}