{"action":"created","comment":{"url":"https://api.github.com/repos/rchain/rchain/pulls/comments/194837245","pull_request_review_id":128085135,"id":194837245,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDgzNzI0NQ==","diff_hunk":"@@ -0,0 +1,122 @@\n+#include \"Ob.h\"\n+#include \"Code.h\"\n+#include \"Prim.h\"\n+#include \"Number.h\"\n+#include \"Expr.h\"\n+#include \"RblAtom.h\"\n+#include \"Proc.h\"\n+#include \"Method.h\"\n+#include \"Pattern.h\"\n+#include \"Table.h\"\n+\n+#include \"CommandLine.h\"\n+#include \"Export.h\"\n+\n+#include <google/protobuf/text_format.h>\n+#include <Ob.pb.h>\n+\n+#include <fstream>\n+#include <string>\n+#include <map>\n+\n+\n+ObjectCodePB::ObjectCode importObjectCode;\n+\n+pOb createRosetteObject(const ObjectCodePB::Object & ob) {\n+\n+    switch(ob.type()) {\n+    case ObjectCodePB::OT_ACTOR:\n+    case ObjectCodePB::OT_BLOCK_EXPR:\n+    case ObjectCodePB::OT_CHAR:\n+    case ObjectCodePB::OT_CODE:\n+    case ObjectCodePB::OT_EXPANDED_LOCATION:\n+    case ObjectCodePB::OT_FIXNUM:\n+    case ObjectCodePB::OT_FLOAT:\n+    case ObjectCodePB::OT_FREE_EXPR:\n+    case ObjectCodePB::OT_GOTO_EXPR:\n+    case ObjectCodePB::OT_IF_EXPR:\n+    case ObjectCodePB::OT_LABEL_EXPR:\n+    case ObjectCodePB::OT_LET_EXPR:\n+    case ObjectCodePB::OT_LET_REC_EXPR:\n+    case ObjectCodePB::OT_METHOD_EXPR:\n+    case ObjectCodePB::OT_PROC:\n+    case ObjectCodePB::OT_PROC_EXPR:\n+    case ObjectCodePB::OT_QUOTE_EXPR:\n+    case ObjectCodePB::OT_RBL_STRING:\n+    case ObjectCodePB::OT_REFLECTIVE_METHOD_EXPR:\n+    case ObjectCodePB::OT_REQUEST_EXPR:\n+    case ObjectCodePB::OT_SEND_EXPR:\n+    case ObjectCodePB::OT_SEQ_EXPR:\n+    case ObjectCodePB::OT_SET_EXPR:\n+    case ObjectCodePB::OT_STD_METHOD:\n+    case ObjectCodePB::OT_SYMBOL:\n+    case ObjectCodePB::OT_TBL_OBJECT:\n+    case ObjectCodePB::OT_TEMPLATE:\n+    case ObjectCodePB::OT_TUPLE:\n+    case ObjectCodePB::OT_TUPLE_EXPR:\n+    case ObjectCodePB::OT_RBL_BOOL:\n+    case ObjectCodePB::OT_NIV:\n+    case ObjectCodePB::OT_STD_EXTENSION:\n+    case ObjectCodePB::OT_RBL_ATOM:\n+    case ObjectCodePB::OT_NULL_EXPR:\n+    case ObjectCodePB::OT_COMPOUND_PATTERN:\n+    case ObjectCodePB::OT_COMPLEX_PATTERN:\n+    case ObjectCodePB::OT_STD_META:\n+    case ObjectCodePB::OT_ID_VEC_PATTERN:\n+    case ObjectCodePB::OT_ID_AMPR_REST_PATTERN:\n+    case ObjectCodePB::OT_ID_PATTERN:\n+    case ObjectCodePB::OT_PRIM:\n+    case ObjectCodePB::OT_SYSVAL:\n+    case ObjectCodePB::OT_CONST_PATTERN:\n+    case ObjectCodePB::OT_RBL_TABLE:\n+    default:\n+        warning(\"Import object type=%d not yet implemented!\", ob.type());\n+    }\n+    return NULL;\n+}\n+\n+Code * createRosetteCode(const ObjectCodePB::CodeBlock & cb) {\n+\n+    return NULL;\n+}\n+\n+bool readImportCode() {\n+\n+    if ('\\0' == *ImportFile)\n+        return false;\n+\n+fprintf(stderr, \"%s\", __PRETTY_FUNCTION__);","path":"rosette/src/Import.cc","position":88,"original_position":88,"commit_id":"d8aa8dd62d8cdde28cb7f66105fa7f9809616c23","original_commit_id":"d8aa8dd62d8cdde28cb7f66105fa7f9809616c23","user":{"login":"tymm","id":28924,"node_id":"MDQ6VXNlcjI4OTI0","avatar_url":"https://avatars1.githubusercontent.com/u/28924?v=4","gravatar_id":"","url":"https://api.github.com/users/tymm","html_url":"https://github.com/tymm","followers_url":"https://api.github.com/users/tymm/followers","following_url":"https://api.github.com/users/tymm/following{/other_user}","gists_url":"https://api.github.com/users/tymm/gists{/gist_id}","starred_url":"https://api.github.com/users/tymm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tymm/subscriptions","organizations_url":"https://api.github.com/users/tymm/orgs","repos_url":"https://api.github.com/users/tymm/repos","events_url":"https://api.github.com/users/tymm/events{/privacy}","received_events_url":"https://api.github.com/users/tymm/received_events","type":"User","site_admin":false},"body":"Indentation seems off here.","created_at":"2018-06-12T18:08:14Z","updated_at":"2018-06-12T18:11:32Z","html_url":"https://github.com/rchain/rchain/pull/948#discussion_r194837245","pull_request_url":"https://api.github.com/repos/rchain/rchain/pulls/948","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments/194837245"},"html":{"href":"https://github.com/rchain/rchain/pull/948#discussion_r194837245"},"pull_request":{"href":"https://api.github.com/repos/rchain/rchain/pulls/948"}}},"pull_request":{"url":"https://api.github.com/repos/rchain/rchain/pulls/948","id":194340196,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MzQwMTk2","html_url":"https://github.com/rchain/rchain/pull/948","diff_url":"https://github.com/rchain/rchain/pull/948.diff","patch_url":"https://github.com/rchain/rchain/pull/948.patch","issue_url":"https://api.github.com/repos/rchain/rchain/issues/948","number":948,"state":"open","locked":false,"title":"Initial skeleton for Object Code import.","user":{"login":"kjmcqueen","id":34141841,"node_id":"MDQ6VXNlcjM0MTQxODQx","avatar_url":"https://avatars3.githubusercontent.com/u/34141841?v=4","gravatar_id":"","url":"https://api.github.com/users/kjmcqueen","html_url":"https://github.com/kjmcqueen","followers_url":"https://api.github.com/users/kjmcqueen/followers","following_url":"https://api.github.com/users/kjmcqueen/following{/other_user}","gists_url":"https://api.github.com/users/kjmcqueen/gists{/gist_id}","starred_url":"https://api.github.com/users/kjmcqueen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjmcqueen/subscriptions","organizations_url":"https://api.github.com/users/kjmcqueen/orgs","repos_url":"https://api.github.com/users/kjmcqueen/repos","events_url":"https://api.github.com/users/kjmcqueen/events{/privacy}","received_events_url":"https://api.github.com/users/kjmcqueen/received_events","type":"User","site_admin":false},"body":"## Overview\r\nInitial skeleton for Object Code import.\r\n\r\n### Does this PR relate to an RChain JIRA issue? \r\nhttps://rchain.atlassian.net/browse/ROS-425\r\n\r\n### Complete this checklist before you submit the PR\r\n- [x] This PR contains no more than 200 lines of code, excluding test code.\r\n- [x] This PR meets [RChain development coding standards](https://rchain.atlassian.net/wiki/spaces/DOC/pages/28082177/Coding+Standards).\r\n- [x] You have someone in mind to assign for review. Make this assignment after submitting the PR.\r\n\r\n### Notes\r\nNote:  UI will likely change. This is for testing.","created_at":"2018-06-12T16:35:05Z","updated_at":"2018-06-12T18:11:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed45e3fbab87115ef61c2f16d6b8a8d6068ccdc6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"DoSOfRedRiver","id":2995220,"node_id":"MDQ6VXNlcjI5OTUyMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/2995220?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSOfRedRiver","html_url":"https://github.com/DoSOfRedRiver","followers_url":"https://api.github.com/users/DoSOfRedRiver/followers","following_url":"https://api.github.com/users/DoSOfRedRiver/following{/other_user}","gists_url":"https://api.github.com/users/DoSOfRedRiver/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSOfRedRiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSOfRedRiver/subscriptions","organizations_url":"https://api.github.com/users/DoSOfRedRiver/orgs","repos_url":"https://api.github.com/users/DoSOfRedRiver/repos","events_url":"https://api.github.com/users/DoSOfRedRiver/events{/privacy}","received_events_url":"https://api.github.com/users/DoSOfRedRiver/received_events","type":"User","site_admin":false},{"login":"pyrocto","id":30355933,"node_id":"MDQ6VXNlcjMwMzU1OTMz","avatar_url":"https://avatars1.githubusercontent.com/u/30355933?v=4","gravatar_id":"","url":"https://api.github.com/users/pyrocto","html_url":"https://github.com/pyrocto","followers_url":"https://api.github.com/users/pyrocto/followers","following_url":"https://api.github.com/users/pyrocto/following{/other_user}","gists_url":"https://api.github.com/users/pyrocto/gists{/gist_id}","starred_url":"https://api.github.com/users/pyrocto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyrocto/subscriptions","organizations_url":"https://api.github.com/users/pyrocto/orgs","repos_url":"https://api.github.com/users/pyrocto/repos","events_url":"https://api.github.com/users/pyrocto/events{/privacy}","received_events_url":"https://api.github.com/users/pyrocto/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rchain/rchain/pulls/948/commits","review_comments_url":"https://api.github.com/repos/rchain/rchain/pulls/948/comments","review_comment_url":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rchain/rchain/issues/948/comments","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/d8aa8dd62d8cdde28cb7f66105fa7f9809616c23","head":{"label":"kjmcqueen:ImportObjectCode1","ref":"ImportObjectCode1","sha":"d8aa8dd62d8cdde28cb7f66105fa7f9809616c23","user":{"login":"kjmcqueen","id":34141841,"node_id":"MDQ6VXNlcjM0MTQxODQx","avatar_url":"https://avatars3.githubusercontent.com/u/34141841?v=4","gravatar_id":"","url":"https://api.github.com/users/kjmcqueen","html_url":"https://github.com/kjmcqueen","followers_url":"https://api.github.com/users/kjmcqueen/followers","following_url":"https://api.github.com/users/kjmcqueen/following{/other_user}","gists_url":"https://api.github.com/users/kjmcqueen/gists{/gist_id}","starred_url":"https://api.github.com/users/kjmcqueen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjmcqueen/subscriptions","organizations_url":"https://api.github.com/users/kjmcqueen/orgs","repos_url":"https://api.github.com/users/kjmcqueen/repos","events_url":"https://api.github.com/users/kjmcqueen/events{/privacy}","received_events_url":"https://api.github.com/users/kjmcqueen/received_events","type":"User","site_admin":false},"repo":{"id":113370989,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMzNzA5ODk=","name":"rchain","full_name":"kjmcqueen/rchain","owner":{"login":"kjmcqueen","id":34141841,"node_id":"MDQ6VXNlcjM0MTQxODQx","avatar_url":"https://avatars3.githubusercontent.com/u/34141841?v=4","gravatar_id":"","url":"https://api.github.com/users/kjmcqueen","html_url":"https://github.com/kjmcqueen","followers_url":"https://api.github.com/users/kjmcqueen/followers","following_url":"https://api.github.com/users/kjmcqueen/following{/other_user}","gists_url":"https://api.github.com/users/kjmcqueen/gists{/gist_id}","starred_url":"https://api.github.com/users/kjmcqueen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjmcqueen/subscriptions","organizations_url":"https://api.github.com/users/kjmcqueen/orgs","repos_url":"https://api.github.com/users/kjmcqueen/repos","events_url":"https://api.github.com/users/kjmcqueen/events{/privacy}","received_events_url":"https://api.github.com/users/kjmcqueen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kjmcqueen/rchain","description":null,"fork":true,"url":"https://api.github.com/repos/kjmcqueen/rchain","forks_url":"https://api.github.com/repos/kjmcqueen/rchain/forks","keys_url":"https://api.github.com/repos/kjmcqueen/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kjmcqueen/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kjmcqueen/rchain/teams","hooks_url":"https://api.github.com/repos/kjmcqueen/rchain/hooks","issue_events_url":"https://api.github.com/repos/kjmcqueen/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/kjmcqueen/rchain/events","assignees_url":"https://api.github.com/repos/kjmcqueen/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/kjmcqueen/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/kjmcqueen/rchain/tags","blobs_url":"https://api.github.com/repos/kjmcqueen/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kjmcqueen/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kjmcqueen/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/kjmcqueen/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kjmcqueen/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/kjmcqueen/rchain/languages","stargazers_url":"https://api.github.com/repos/kjmcqueen/rchain/stargazers","contributors_url":"https://api.github.com/repos/kjmcqueen/rchain/contributors","subscribers_url":"https://api.github.com/repos/kjmcqueen/rchain/subscribers","subscription_url":"https://api.github.com/repos/kjmcqueen/rchain/subscription","commits_url":"https://api.github.com/repos/kjmcqueen/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/kjmcqueen/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/kjmcqueen/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/kjmcqueen/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/kjmcqueen/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/kjmcqueen/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kjmcqueen/rchain/merges","archive_url":"https://api.github.com/repos/kjmcqueen/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kjmcqueen/rchain/downloads","issues_url":"https://api.github.com/repos/kjmcqueen/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/kjmcqueen/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/kjmcqueen/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/kjmcqueen/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kjmcqueen/rchain/labels{/name}","releases_url":"https://api.github.com/repos/kjmcqueen/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/kjmcqueen/rchain/deployments","created_at":"2017-12-06T21:51:50Z","updated_at":"2017-12-06T21:51:53Z","pushed_at":"2018-06-12T16:37:29Z","git_url":"git://github.com/kjmcqueen/rchain.git","ssh_url":"git@github.com:kjmcqueen/rchain.git","clone_url":"https://github.com/kjmcqueen/rchain.git","svn_url":"https://github.com/kjmcqueen/rchain","homepage":null,"size":11008,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rchain:dev","ref":"dev","sha":"e6bf41cb219dde82eeaef78e8974ee2b3ef8124a","user":{"login":"rchain","id":20671765,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjcxNzY1","avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"repo":{"id":84493691,"node_id":"MDEwOlJlcG9zaXRvcnk4NDQ5MzY5MQ==","name":"rchain","full_name":"rchain/rchain","owner":{"login":"rchain","id":20671765,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjcxNzY1","avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rchain/rchain","description":null,"fork":false,"url":"https://api.github.com/repos/rchain/rchain","forks_url":"https://api.github.com/repos/rchain/rchain/forks","keys_url":"https://api.github.com/repos/rchain/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rchain/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rchain/rchain/teams","hooks_url":"https://api.github.com/repos/rchain/rchain/hooks","issue_events_url":"https://api.github.com/repos/rchain/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/rchain/rchain/events","assignees_url":"https://api.github.com/repos/rchain/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/rchain/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/rchain/rchain/tags","blobs_url":"https://api.github.com/repos/rchain/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rchain/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rchain/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/rchain/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/rchain/rchain/languages","stargazers_url":"https://api.github.com/repos/rchain/rchain/stargazers","contributors_url":"https://api.github.com/repos/rchain/rchain/contributors","subscribers_url":"https://api.github.com/repos/rchain/rchain/subscribers","subscription_url":"https://api.github.com/repos/rchain/rchain/subscription","commits_url":"https://api.github.com/repos/rchain/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/rchain/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/rchain/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/rchain/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/rchain/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/rchain/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rchain/rchain/merges","archive_url":"https://api.github.com/repos/rchain/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rchain/rchain/downloads","issues_url":"https://api.github.com/repos/rchain/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/rchain/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/rchain/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/rchain/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rchain/rchain/labels{/name}","releases_url":"https://api.github.com/repos/rchain/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/rchain/rchain/deployments","created_at":"2017-03-09T22:15:35Z","updated_at":"2018-06-12T09:59:03Z","pushed_at":"2018-06-12T18:04:16Z","git_url":"git://github.com/rchain/rchain.git","ssh_url":"git@github.com:rchain/rchain.git","clone_url":"https://github.com/rchain/rchain.git","svn_url":"https://github.com/rchain/rchain","homepage":null,"size":11025,"stargazers_count":345,"watchers_count":345,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":102,"open_issues":11,"watchers":345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/948"},"html":{"href":"https://github.com/rchain/rchain/pull/948"},"issue":{"href":"https://api.github.com/repos/rchain/rchain/issues/948"},"comments":{"href":"https://api.github.com/repos/rchain/rchain/issues/948/comments"},"review_comments":{"href":"https://api.github.com/repos/rchain/rchain/pulls/948/comments"},"review_comment":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rchain/rchain/pulls/948/commits"},"statuses":{"href":"https://api.github.com/repos/rchain/rchain/statuses/d8aa8dd62d8cdde28cb7f66105fa7f9809616c23"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tymm"}}