{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/api/pulls/comments/33533554","id":33533554,"diff_hunk":"@@ -0,0 +1,102 @@\n+### Abstracting Data Types\n+\n+An initial effort to abstract the data types between JS engine(s) and addon(s).\n+\n+#### Definitions: (Alphabetical order)\n+\n+ - Addon or Native Addon : Node.JS modules developed using C,C++.\n+ - Chakra : A Javascript engine developed by Microsoft\n+ - ECMAScript : The scripting language standardized by Ecma International in the ECMA-262 specification and ISO/IEC 16262. (ref Wikipedia)\n+ - IO.JS : [Bringing ES6 to the Node Community!](http://iojs.org)\n+ - JS Engine : Javascript engine that powers Node.JS or it's forks (Chakra, SpiderMonkey, V8 ...)\n+ - JXcore : [Node.JS on mobile and embedded devices](http://jxcore.io/)\n+ - MDN : Mozilla Developers Network\n+ - Node : [Node.JS](http://nodejs.org) and it's previously mentioned sub projects\n+ - SpiderMonkey : A Javascript engine developed by Mozilla.\n+ - V8 : A Javascript engine developed by Google.\n+\n+\n+#### JS Types\n+\n+The latest ECMAScript standard defines seven data types: (ref. MDN and contributors [2015] [Online] Available from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures))\n+\n+    Six data types that are primitives:\n+        Boolean\n+        Null\n+        Undefined\n+        Number\n+        String\n+        Symbol (new in ECMAScript 6)\n+    and \n+        Object\n+\n+Initial list of the corresponding native types are given below;\n+\n+```\n+enum JSTypes {\n+  Int32, // Number","path":"native/data_dypes.md","position":37,"original_position":37,"commit_id":"4e4ba8f86532488cdc17945f89f4d77e92bb3f73","original_commit_id":"4e4ba8f86532488cdc17945f89f4d77e92bb3f73","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"body":"Is it worth including a UInt32 type?","created_at":"2015-06-30T01:40:59Z","updated_at":"2015-06-30T01:40:59Z","html_url":"https://github.com/nodejs/api/pull/4#discussion_r33533554","pull_request_url":"https://api.github.com/repos/nodejs/api/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/nodejs/api/pulls/comments/33533554"},"html":{"href":"https://github.com/nodejs/api/pull/4#discussion_r33533554"},"pull_request":{"href":"https://api.github.com/repos/nodejs/api/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/api/pulls/4","id":38829564,"html_url":"https://github.com/nodejs/api/pull/4","diff_url":"https://github.com/nodejs/api/pull/4.diff","patch_url":"https://github.com/nodejs/api/pull/4.patch","issue_url":"https://api.github.com/repos/nodejs/api/issues/4","number":4,"state":"open","locked":false,"title":"initial data_types document","user":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"body":"A basic documentation for an initial effort to abstract the data types between JS engine(s) and addon(s).","created_at":"2015-06-29T23:42:13Z","updated_at":"2015-06-30T01:40:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f4e400766769e81134bbd6107844c0d22b6c0fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/api/pulls/4/commits","review_comments_url":"https://api.github.com/repos/nodejs/api/pulls/4/comments","review_comment_url":"https://api.github.com/repos/nodejs/api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/api/issues/4/comments","statuses_url":"https://api.github.com/repos/nodejs/api/statuses/4e4ba8f86532488cdc17945f89f4d77e92bb3f73","head":{"label":"obastemur:master","ref":"master","sha":"4e4ba8f86532488cdc17945f89f4d77e92bb3f73","user":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"repo":{"id":38276480,"name":"api","full_name":"obastemur/api","owner":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/obastemur/api","description":"API WG","fork":true,"url":"https://api.github.com/repos/obastemur/api","forks_url":"https://api.github.com/repos/obastemur/api/forks","keys_url":"https://api.github.com/repos/obastemur/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obastemur/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obastemur/api/teams","hooks_url":"https://api.github.com/repos/obastemur/api/hooks","issue_events_url":"https://api.github.com/repos/obastemur/api/issues/events{/number}","events_url":"https://api.github.com/repos/obastemur/api/events","assignees_url":"https://api.github.com/repos/obastemur/api/assignees{/user}","branches_url":"https://api.github.com/repos/obastemur/api/branches{/branch}","tags_url":"https://api.github.com/repos/obastemur/api/tags","blobs_url":"https://api.github.com/repos/obastemur/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obastemur/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obastemur/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/obastemur/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obastemur/api/statuses/{sha}","languages_url":"https://api.github.com/repos/obastemur/api/languages","stargazers_url":"https://api.github.com/repos/obastemur/api/stargazers","contributors_url":"https://api.github.com/repos/obastemur/api/contributors","subscribers_url":"https://api.github.com/repos/obastemur/api/subscribers","subscription_url":"https://api.github.com/repos/obastemur/api/subscription","commits_url":"https://api.github.com/repos/obastemur/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/obastemur/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/obastemur/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/obastemur/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/obastemur/api/contents/{+path}","compare_url":"https://api.github.com/repos/obastemur/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obastemur/api/merges","archive_url":"https://api.github.com/repos/obastemur/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obastemur/api/downloads","issues_url":"https://api.github.com/repos/obastemur/api/issues{/number}","pulls_url":"https://api.github.com/repos/obastemur/api/pulls{/number}","milestones_url":"https://api.github.com/repos/obastemur/api/milestones{/number}","notifications_url":"https://api.github.com/repos/obastemur/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obastemur/api/labels{/name}","releases_url":"https://api.github.com/repos/obastemur/api/releases{/id}","created_at":"2015-06-29T23:27:11Z","updated_at":"2015-06-29T15:04:28Z","pushed_at":"2015-06-29T23:40:59Z","git_url":"git://github.com/obastemur/api.git","ssh_url":"git@github.com:obastemur/api.git","clone_url":"https://github.com/obastemur/api.git","svn_url":"https://github.com/obastemur/api","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"nodejs:master","ref":"master","sha":"f83d76b7577e35954a1e2bcfdf7b83edfc2e1b99","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":37962567,"name":"api","full_name":"nodejs/api","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/api","description":"API WG","fork":false,"url":"https://api.github.com/repos/nodejs/api","forks_url":"https://api.github.com/repos/nodejs/api/forks","keys_url":"https://api.github.com/repos/nodejs/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/api/teams","hooks_url":"https://api.github.com/repos/nodejs/api/hooks","issue_events_url":"https://api.github.com/repos/nodejs/api/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/api/events","assignees_url":"https://api.github.com/repos/nodejs/api/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/api/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/api/tags","blobs_url":"https://api.github.com/repos/nodejs/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/api/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/api/languages","stargazers_url":"https://api.github.com/repos/nodejs/api/stargazers","contributors_url":"https://api.github.com/repos/nodejs/api/contributors","subscribers_url":"https://api.github.com/repos/nodejs/api/subscribers","subscription_url":"https://api.github.com/repos/nodejs/api/subscription","commits_url":"https://api.github.com/repos/nodejs/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/api/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/api/merges","archive_url":"https://api.github.com/repos/nodejs/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/api/downloads","issues_url":"https://api.github.com/repos/nodejs/api/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/api/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/api/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/api/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/api/releases{/id}","created_at":"2015-06-24T04:37:18Z","updated_at":"2015-06-29T15:04:28Z","pushed_at":"2015-06-29T23:42:13Z","git_url":"git://github.com/nodejs/api.git","ssh_url":"git@github.com:nodejs/api.git","clone_url":"https://github.com/nodejs/api.git","svn_url":"https://github.com/nodejs/api","homepage":null,"size":0,"stargazers_count":10,"watchers_count":10,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/api/pulls/4"},"html":{"href":"https://github.com/nodejs/api/pull/4"},"issue":{"href":"https://api.github.com/repos/nodejs/api/issues/4"},"comments":{"href":"https://api.github.com/repos/nodejs/api/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/api/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/api/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/api/statuses/4e4ba8f86532488cdc17945f89f4d77e92bb3f73"}}}}