{"action":"created","comment":{"url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/comments/97847207","pull_request_review_id":18470177,"id":97847207,"diff_hunk":"@@ -0,0 +1,66 @@\n+// This represents a scope\n+// currently it doesn't make any sense to have a nested scope\n+\n+Definitions = _ \"{\" _ dfns:Definition* _ \"}\" _ { return new types.TypeScope(new Map(dfns)); }","path":"app/types/type-parser.pegjs","position":4,"original_position":4,"commit_id":"5f8d11e4786862c1b781126de619dca168137984","original_commit_id":"e6585cc4040ffd58fdff62d78c90c7cb379157ce","user":{"login":"Sheyne","id":679358,"avatar_url":"https://avatars.githubusercontent.com/u/679358?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheyne","html_url":"https://github.com/Sheyne","followers_url":"https://api.github.com/users/Sheyne/followers","following_url":"https://api.github.com/users/Sheyne/following{/other_user}","gists_url":"https://api.github.com/users/Sheyne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheyne/subscriptions","organizations_url":"https://api.github.com/users/Sheyne/orgs","repos_url":"https://api.github.com/users/Sheyne/repos","events_url":"https://api.github.com/users/Sheyne/events{/privacy}","received_events_url":"https://api.github.com/users/Sheyne/received_events","type":"User","site_admin":false},"body":"If you read the app/types/README.md that I just committed, there are several examples of syntax. \r\n\r\nLink to file in the commit [here](https://github.com/2graphic/sinap-ide/blob/5f8d11e4786862c1b781126de619dca168137984/app/types/README.md). (This directly references the commit so people from the future be warned: it might of changed)","created_at":"2017-01-25T18:36:13Z","updated_at":"2017-01-25T18:36:13Z","html_url":"https://github.com/2graphic/sinap-ide/pull/61#discussion_r97847207","pull_request_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/comments/97847207"},"html":{"href":"https://github.com/2graphic/sinap-ide/pull/61#discussion_r97847207"},"pull_request":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61","id":103053220,"html_url":"https://github.com/2graphic/sinap-ide/pull/61","diff_url":"https://github.com/2graphic/sinap-ide/pull/61.diff","patch_url":"https://github.com/2graphic/sinap-ide/pull/61.patch","issue_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/61","number":61,"state":"open","locked":false,"title":"Type updates","user":{"login":"Sheyne","id":679358,"avatar_url":"https://avatars.githubusercontent.com/u/679358?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheyne","html_url":"https://github.com/Sheyne","followers_url":"https://api.github.com/users/Sheyne/followers","following_url":"https://api.github.com/users/Sheyne/following{/other_user}","gists_url":"https://api.github.com/users/Sheyne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheyne/subscriptions","organizations_url":"https://api.github.com/users/Sheyne/orgs","repos_url":"https://api.github.com/users/Sheyne/repos","events_url":"https://api.github.com/users/Sheyne/events{/privacy}","received_events_url":"https://api.github.com/users/Sheyne/received_events","type":"User","site_admin":false},"body":"Types is now rewritten from the ground up.\r\n\r\nClasses now support (multiple) inheritance. \r\n   - multiple inheritance is a good thing because what I am calling classes are really just interfaces\r\n\r\nTypes can now be parsed from literals\r\n\r\n```typescript\r\nType.parseType(\"class { x: String }\")\r\nType.parseType(\"List<Number>\")\r\nType.parseScope(`\r\nDFANode = class Node {\r\n    AcceptState: Boolean\r\n}\r\n`)\r\n```","created_at":"2017-01-25T04:25:18Z","updated_at":"2017-01-25T18:36:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"537d1353046957b1ccce669b21bacc1f19b6fc89","assignee":{"login":"RighteousRaichu","id":2342524,"avatar_url":"https://avatars.githubusercontent.com/u/2342524?v=3","gravatar_id":"","url":"https://api.github.com/users/RighteousRaichu","html_url":"https://github.com/RighteousRaichu","followers_url":"https://api.github.com/users/RighteousRaichu/followers","following_url":"https://api.github.com/users/RighteousRaichu/following{/other_user}","gists_url":"https://api.github.com/users/RighteousRaichu/gists{/gist_id}","starred_url":"https://api.github.com/users/RighteousRaichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RighteousRaichu/subscriptions","organizations_url":"https://api.github.com/users/RighteousRaichu/orgs","repos_url":"https://api.github.com/users/RighteousRaichu/repos","events_url":"https://api.github.com/users/RighteousRaichu/events{/privacy}","received_events_url":"https://api.github.com/users/RighteousRaichu/received_events","type":"User","site_admin":false},"assignees":[{"login":"RighteousRaichu","id":2342524,"avatar_url":"https://avatars.githubusercontent.com/u/2342524?v=3","gravatar_id":"","url":"https://api.github.com/users/RighteousRaichu","html_url":"https://github.com/RighteousRaichu","followers_url":"https://api.github.com/users/RighteousRaichu/followers","following_url":"https://api.github.com/users/RighteousRaichu/following{/other_user}","gists_url":"https://api.github.com/users/RighteousRaichu/gists{/gist_id}","starred_url":"https://api.github.com/users/RighteousRaichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RighteousRaichu/subscriptions","organizations_url":"https://api.github.com/users/RighteousRaichu/orgs","repos_url":"https://api.github.com/users/RighteousRaichu/repos","events_url":"https://api.github.com/users/RighteousRaichu/events{/privacy}","received_events_url":"https://api.github.com/users/RighteousRaichu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61/commits","review_comments_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61/comments","review_comment_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/61/comments","statuses_url":"https://api.github.com/repos/2graphic/sinap-ide/statuses/5f8d11e4786862c1b781126de619dca168137984","head":{"label":"2graphic:type-updates-merge","ref":"type-updates-merge","sha":"5f8d11e4786862c1b781126de619dca168137984","user":{"login":"2graphic","id":22456859,"avatar_url":"https://avatars.githubusercontent.com/u/22456859?v=3","gravatar_id":"","url":"https://api.github.com/users/2graphic","html_url":"https://github.com/2graphic","followers_url":"https://api.github.com/users/2graphic/followers","following_url":"https://api.github.com/users/2graphic/following{/other_user}","gists_url":"https://api.github.com/users/2graphic/gists{/gist_id}","starred_url":"https://api.github.com/users/2graphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2graphic/subscriptions","organizations_url":"https://api.github.com/users/2graphic/orgs","repos_url":"https://api.github.com/users/2graphic/repos","events_url":"https://api.github.com/users/2graphic/events{/privacy}","received_events_url":"https://api.github.com/users/2graphic/received_events","type":"Organization","site_admin":false},"repo":{"id":71612663,"name":"sinap-ide","full_name":"2graphic/sinap-ide","owner":{"login":"2graphic","id":22456859,"avatar_url":"https://avatars.githubusercontent.com/u/22456859?v=3","gravatar_id":"","url":"https://api.github.com/users/2graphic","html_url":"https://github.com/2graphic","followers_url":"https://api.github.com/users/2graphic/followers","following_url":"https://api.github.com/users/2graphic/following{/other_user}","gists_url":"https://api.github.com/users/2graphic/gists{/gist_id}","starred_url":"https://api.github.com/users/2graphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2graphic/subscriptions","organizations_url":"https://api.github.com/users/2graphic/orgs","repos_url":"https://api.github.com/users/2graphic/repos","events_url":"https://api.github.com/users/2graphic/events{/privacy}","received_events_url":"https://api.github.com/users/2graphic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2graphic/sinap-ide","description":"Sinap IDE development project.","fork":false,"url":"https://api.github.com/repos/2graphic/sinap-ide","forks_url":"https://api.github.com/repos/2graphic/sinap-ide/forks","keys_url":"https://api.github.com/repos/2graphic/sinap-ide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2graphic/sinap-ide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2graphic/sinap-ide/teams","hooks_url":"https://api.github.com/repos/2graphic/sinap-ide/hooks","issue_events_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/events{/number}","events_url":"https://api.github.com/repos/2graphic/sinap-ide/events","assignees_url":"https://api.github.com/repos/2graphic/sinap-ide/assignees{/user}","branches_url":"https://api.github.com/repos/2graphic/sinap-ide/branches{/branch}","tags_url":"https://api.github.com/repos/2graphic/sinap-ide/tags","blobs_url":"https://api.github.com/repos/2graphic/sinap-ide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2graphic/sinap-ide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2graphic/sinap-ide/git/refs{/sha}","trees_url":"https://api.github.com/repos/2graphic/sinap-ide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2graphic/sinap-ide/statuses/{sha}","languages_url":"https://api.github.com/repos/2graphic/sinap-ide/languages","stargazers_url":"https://api.github.com/repos/2graphic/sinap-ide/stargazers","contributors_url":"https://api.github.com/repos/2graphic/sinap-ide/contributors","subscribers_url":"https://api.github.com/repos/2graphic/sinap-ide/subscribers","subscription_url":"https://api.github.com/repos/2graphic/sinap-ide/subscription","commits_url":"https://api.github.com/repos/2graphic/sinap-ide/commits{/sha}","git_commits_url":"https://api.github.com/repos/2graphic/sinap-ide/git/commits{/sha}","comments_url":"https://api.github.com/repos/2graphic/sinap-ide/comments{/number}","issue_comment_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/comments{/number}","contents_url":"https://api.github.com/repos/2graphic/sinap-ide/contents/{+path}","compare_url":"https://api.github.com/repos/2graphic/sinap-ide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2graphic/sinap-ide/merges","archive_url":"https://api.github.com/repos/2graphic/sinap-ide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2graphic/sinap-ide/downloads","issues_url":"https://api.github.com/repos/2graphic/sinap-ide/issues{/number}","pulls_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls{/number}","milestones_url":"https://api.github.com/repos/2graphic/sinap-ide/milestones{/number}","notifications_url":"https://api.github.com/repos/2graphic/sinap-ide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2graphic/sinap-ide/labels{/name}","releases_url":"https://api.github.com/repos/2graphic/sinap-ide/releases{/id}","deployments_url":"https://api.github.com/repos/2graphic/sinap-ide/deployments","created_at":"2016-10-22T02:50:42Z","updated_at":"2016-10-22T02:52:14Z","pushed_at":"2017-01-25T18:25:47Z","git_url":"git://github.com/2graphic/sinap-ide.git","ssh_url":"git@github.com:2graphic/sinap-ide.git","clone_url":"https://github.com/2graphic/sinap-ide.git","svn_url":"https://github.com/2graphic/sinap-ide","homepage":null,"size":804,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":0,"default_branch":"master"}},"base":{"label":"2graphic:master","ref":"master","sha":"c87ae6c56ebeaf65e38ffa61020abb94bc086fb8","user":{"login":"2graphic","id":22456859,"avatar_url":"https://avatars.githubusercontent.com/u/22456859?v=3","gravatar_id":"","url":"https://api.github.com/users/2graphic","html_url":"https://github.com/2graphic","followers_url":"https://api.github.com/users/2graphic/followers","following_url":"https://api.github.com/users/2graphic/following{/other_user}","gists_url":"https://api.github.com/users/2graphic/gists{/gist_id}","starred_url":"https://api.github.com/users/2graphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2graphic/subscriptions","organizations_url":"https://api.github.com/users/2graphic/orgs","repos_url":"https://api.github.com/users/2graphic/repos","events_url":"https://api.github.com/users/2graphic/events{/privacy}","received_events_url":"https://api.github.com/users/2graphic/received_events","type":"Organization","site_admin":false},"repo":{"id":71612663,"name":"sinap-ide","full_name":"2graphic/sinap-ide","owner":{"login":"2graphic","id":22456859,"avatar_url":"https://avatars.githubusercontent.com/u/22456859?v=3","gravatar_id":"","url":"https://api.github.com/users/2graphic","html_url":"https://github.com/2graphic","followers_url":"https://api.github.com/users/2graphic/followers","following_url":"https://api.github.com/users/2graphic/following{/other_user}","gists_url":"https://api.github.com/users/2graphic/gists{/gist_id}","starred_url":"https://api.github.com/users/2graphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2graphic/subscriptions","organizations_url":"https://api.github.com/users/2graphic/orgs","repos_url":"https://api.github.com/users/2graphic/repos","events_url":"https://api.github.com/users/2graphic/events{/privacy}","received_events_url":"https://api.github.com/users/2graphic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2graphic/sinap-ide","description":"Sinap IDE development project.","fork":false,"url":"https://api.github.com/repos/2graphic/sinap-ide","forks_url":"https://api.github.com/repos/2graphic/sinap-ide/forks","keys_url":"https://api.github.com/repos/2graphic/sinap-ide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2graphic/sinap-ide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2graphic/sinap-ide/teams","hooks_url":"https://api.github.com/repos/2graphic/sinap-ide/hooks","issue_events_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/events{/number}","events_url":"https://api.github.com/repos/2graphic/sinap-ide/events","assignees_url":"https://api.github.com/repos/2graphic/sinap-ide/assignees{/user}","branches_url":"https://api.github.com/repos/2graphic/sinap-ide/branches{/branch}","tags_url":"https://api.github.com/repos/2graphic/sinap-ide/tags","blobs_url":"https://api.github.com/repos/2graphic/sinap-ide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2graphic/sinap-ide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2graphic/sinap-ide/git/refs{/sha}","trees_url":"https://api.github.com/repos/2graphic/sinap-ide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2graphic/sinap-ide/statuses/{sha}","languages_url":"https://api.github.com/repos/2graphic/sinap-ide/languages","stargazers_url":"https://api.github.com/repos/2graphic/sinap-ide/stargazers","contributors_url":"https://api.github.com/repos/2graphic/sinap-ide/contributors","subscribers_url":"https://api.github.com/repos/2graphic/sinap-ide/subscribers","subscription_url":"https://api.github.com/repos/2graphic/sinap-ide/subscription","commits_url":"https://api.github.com/repos/2graphic/sinap-ide/commits{/sha}","git_commits_url":"https://api.github.com/repos/2graphic/sinap-ide/git/commits{/sha}","comments_url":"https://api.github.com/repos/2graphic/sinap-ide/comments{/number}","issue_comment_url":"https://api.github.com/repos/2graphic/sinap-ide/issues/comments{/number}","contents_url":"https://api.github.com/repos/2graphic/sinap-ide/contents/{+path}","compare_url":"https://api.github.com/repos/2graphic/sinap-ide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2graphic/sinap-ide/merges","archive_url":"https://api.github.com/repos/2graphic/sinap-ide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2graphic/sinap-ide/downloads","issues_url":"https://api.github.com/repos/2graphic/sinap-ide/issues{/number}","pulls_url":"https://api.github.com/repos/2graphic/sinap-ide/pulls{/number}","milestones_url":"https://api.github.com/repos/2graphic/sinap-ide/milestones{/number}","notifications_url":"https://api.github.com/repos/2graphic/sinap-ide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2graphic/sinap-ide/labels{/name}","releases_url":"https://api.github.com/repos/2graphic/sinap-ide/releases{/id}","deployments_url":"https://api.github.com/repos/2graphic/sinap-ide/deployments","created_at":"2016-10-22T02:50:42Z","updated_at":"2016-10-22T02:52:14Z","pushed_at":"2017-01-25T18:25:47Z","git_url":"git://github.com/2graphic/sinap-ide.git","ssh_url":"git@github.com:2graphic/sinap-ide.git","clone_url":"https://github.com/2graphic/sinap-ide.git","svn_url":"https://github.com/2graphic/sinap-ide","homepage":null,"size":804,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61"},"html":{"href":"https://github.com/2graphic/sinap-ide/pull/61"},"issue":{"href":"https://api.github.com/repos/2graphic/sinap-ide/issues/61"},"comments":{"href":"https://api.github.com/repos/2graphic/sinap-ide/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2graphic/sinap-ide/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/2graphic/sinap-ide/statuses/5f8d11e4786862c1b781126de619dca168137984"}}}}
{"actor":{"display_login":"Sheyne"}}