payload: {"action":"closed","number":11724,"pull_request":{"url":"https://api.github.com/repos/nim-lang/Nim/pulls/11724","id":297282821,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk3MjgyODIx","html_url":"https://github.com/nim-lang/Nim/pull/11724","diff_url":"https://github.com/nim-lang/Nim/pull/11724.diff","patch_url":"https://github.com/nim-lang/Nim/pull/11724.patch","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/11724","number":11724,"state":"closed","locked":false,"title":"Make Flowvar compatible with Async","user":{"login":"rayman22201","id":665285,"node_id":"MDQ6VXNlcjY2NTI4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/665285?v=4","gravatar_id":"","url":"https://api.github.com/users/rayman22201","html_url":"https://github.com/rayman22201","followers_url":"https://api.github.com/users/rayman22201/followers","following_url":"https://api.github.com/users/rayman22201/following{/other_user}","gists_url":"https://api.github.com/users/rayman22201/gists{/gist_id}","starred_url":"https://api.github.com/users/rayman22201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayman22201/subscriptions","organizations_url":"https://api.github.com/users/rayman22201/orgs","repos_url":"https://api.github.com/users/rayman22201/repos","events_url":"https://api.github.com/users/rayman22201/events{/privacy}","received_events_url":"https://api.github.com/users/rayman22201/received_events","type":"User","site_admin":false},"body":"Added some docs as well 😄 \r\nMay still need some cleanup, and it needs tests, but it basically works, as seen on the stream 👍 ","created_at":"2019-07-13T05:37:52Z","updated_at":"2019-11-11T17:58:10Z","closed_at":"2019-11-11T17:58:10Z","merged_at":null,"merge_commit_sha":"b73b2e91432610de85d4616b6d9b7ccddcbf6a16","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/nim-lang/Nim/milestones/4","html_url":"https://github.com/nim-lang/Nim/milestone/4","labels_url":"https://api.github.com/repos/nim-lang/Nim/milestones/4/labels","id":3409978,"node_id":"MDk6TWlsZXN0b25lMzQwOTk3OA==","number":4,"title":"v1.1","description":"The versions after 1.0.0 will improve the stability of the language further and the focus will shift to a series of internal compiler refactorings that make the Nim compiler itself useful to import as an API. The compiler as an API is a prerequisite for more language tools like linters or even advanced theorem provers.\r\n\r\nThe refactorings have primarily the goal of improving Nim's tooling:\r\n\r\n- nimsuggest needs to be improved to take less memory and work better within macro-based DSLs. We need tooling that allows the programmer to conveniently inspect the result of every macro transformation.\r\n\r\n- nimpretty, Nim's auto formatting tool needs to be finished and battle-tested.\r\nBetter/more documentation, especially SEO for Nim's generated documentation and a better search feature. Integrate Nimble's directory into the search.\r\n\r\nThe current code generator will be refactored into distinct passes:\r\n\r\n1. AST simplifications\r\n2. AST to C(++) rendering, ideally this phase does not contain much logic since the previous transformation passes already did the heavy lifting.\r\n\r\nThe AST simplifications are planned to be AST to AST transformations and are split into multiple different passes. These passes have the goal to make alternative Nim backends like NLVM or \"Nim for webassembly\" easier to write and to maintain. Planned passes are:\r\n\r\n- Rewrite exception handling code into code that passes exceptions up the call stack via if and return statements. This is useful for targets which lack any support for exceptions like WebAssembly. This step is optional, using C++'s/JS's exception mechanism for Nim's exceptions is more efficient.\r\n\r\n- Rewrite expression based ASTs into statement based ASTs as both C++ and JavaScript are statement based languages. In order to support all control flow constructs, some form of goto is probably needed for this. NVLM will benefit from this.\r\nArbitrary fixed size integers\r\n\r\n# For flexible numeric types\r\n\r\nAnother internal compiler refactoring deals with the numeric types.\r\n\r\nInternally the compiler will not know the types int, int8, int16, int32, int64 and their unsigned variants anymore. Instead there is one int type, one uint type, one float type and the size is another field in the type representation. The idea here is that adding native support for e.g. int256 will be much easier to do.","creator":{"login":"Araq","id":287816,"node_id":"MDQ6VXNlcjI4NzgxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/287816?v=4","gravatar_id":"","url":"https://api.github.com/users/Araq","html_url":"https://github.com/Araq","followers_url":"https://api.github.com/users/Araq/followers","following_url":"https://api.github.com/users/Araq/following{/other_user}","gists_url":"https://api.github.com/users/Araq/gists{/gist_id}","starred_url":"https://api.github.com/users/Araq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Araq/subscriptions","organizations_url":"https://api.github.com/users/Araq/orgs","repos_url":"https://api.github.com/users/Araq/repos","events_url":"https://api.github.com/users/Araq/events{/privacy}","received_events_url":"https://api.github.com/users/Araq/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2018-06-08T07:59:43Z","updated_at":"2019-11-11T17:58:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/nim-lang/Nim/pulls/11724/commits","review_comments_url":"https://api.github.com/repos/nim-lang/Nim/pulls/11724/comments","review_comment_url":"https://api.github.com/repos/nim-lang/Nim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/11724/comments","statuses_url":"https://api.github.com/repos/nim-lang/Nim/statuses/4fd2e4f6732e34b32767f96a9e3eb5b1c50d17b8","head":{"label":"rayman22201:asyncFlowVar","ref":"asyncFlowVar","sha":"4fd2e4f6732e34b32767f96a9e3eb5b1c50d17b8","user":{"login":"rayman22201","id":665285,"node_id":"MDQ6VXNlcjY2NTI4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/665285?v=4","gravatar_id":"","url":"https://api.github.com/users/rayman22201","html_url":"https://github.com/rayman22201","followers_url":"https://api.github.com/users/rayman22201/followers","following_url":"https://api.github.com/users/rayman22201/following{/other_user}","gists_url":"https://api.github.com/users/rayman22201/gists{/gist_id}","starred_url":"https://api.github.com/users/rayman22201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayman22201/subscriptions","organizations_url":"https://api.github.com/users/rayman22201/orgs","repos_url":"https://api.github.com/users/rayman22201/repos","events_url":"https://api.github.com/users/rayman22201/events{/privacy}","received_events_url":"https://api.github.com/users/rayman22201/received_events","type":"User","site_admin":false},"repo":{"id":99180279,"node_id":"MDEwOlJlcG9zaXRvcnk5OTE4MDI3OQ==","name":"Nim","full_name":"rayman22201/Nim","private":false,"owner":{"login":"rayman22201","id":665285,"node_id":"MDQ6VXNlcjY2NTI4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/665285?v=4","gravatar_id":"","url":"https://api.github.com/users/rayman22201","html_url":"https://github.com/rayman22201","followers_url":"https://api.github.com/users/rayman22201/followers","following_url":"https://api.github.com/users/rayman22201/following{/other_user}","gists_url":"https://api.github.com/users/rayman22201/gists{/gist_id}","starred_url":"https://api.github.com/users/rayman22201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayman22201/subscriptions","organizations_url":"https://api.github.com/users/rayman22201/orgs","repos_url":"https://api.github.com/users/rayman22201/repos","events_url":"https://api.github.com/users/rayman22201/events{/privacy}","received_events_url":"https://api.github.com/users/rayman22201/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rayman22201/Nim","description":"Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in the order of priority).","fork":true,"url":"https://api.github.com/repos/rayman22201/Nim","forks_url":"https://api.github.com/repos/rayman22201/Nim/forks","keys_url":"https://api.github.com/repos/rayman22201/Nim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rayman22201/Nim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rayman22201/Nim/teams","hooks_url":"https://api.github.com/repos/rayman22201/Nim/hooks","issue_events_url":"https://api.github.com/repos/rayman22201/Nim/issues/events{/number}","events_url":"https://api.github.com/repos/rayman22201/Nim/events","assignees_url":"https://api.github.com/repos/rayman22201/Nim/assignees{/user}","branches_url":"https://api.github.com/repos/rayman22201/Nim/branches{/branch}","tags_url":"https://api.github.com/repos/rayman22201/Nim/tags","blobs_url":"https://api.github.com/repos/rayman22201/Nim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rayman22201/Nim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rayman22201/Nim/git/refs{/sha}","trees_url":"https://api.github.com/repos/rayman22201/Nim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rayman22201/Nim/statuses/{sha}","languages_url":"https://api.github.com/repos/rayman22201/Nim/languages","stargazers_url":"https://api.github.com/repos/rayman22201/Nim/stargazers","contributors_url":"https://api.github.com/repos/rayman22201/Nim/contributors","subscribers_url":"https://api.github.com/repos/rayman22201/Nim/subscribers","subscription_url":"https://api.github.com/repos/rayman22201/Nim/subscription","commits_url":"https://api.github.com/repos/rayman22201/Nim/commits{/sha}","git_commits_url":"https://api.github.com/repos/rayman22201/Nim/git/commits{/sha}","comments_url":"https://api.github.com/repos/rayman22201/Nim/comments{/number}","issue_comment_url":"https://api.github.com/repos/rayman22201/Nim/issues/comments{/number}","contents_url":"https://api.github.com/repos/rayman22201/Nim/contents/{+path}","compare_url":"https://api.github.com/repos/rayman22201/Nim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rayman22201/Nim/merges","archive_url":"https://api.github.com/repos/rayman22201/Nim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rayman22201/Nim/downloads","issues_url":"https://api.github.com/repos/rayman22201/Nim/issues{/number}","pulls_url":"https://api.github.com/repos/rayman22201/Nim/pulls{/number}","milestones_url":"https://api.github.com/repos/rayman22201/Nim/milestones{/number}","notifications_url":"https://api.github.com/repos/rayman22201/Nim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rayman22201/Nim/labels{/name}","releases_url":"https://api.github.com/repos/rayman22201/Nim/releases{/id}","deployments_url":"https://api.github.com/repos/rayman22201/Nim/deployments","created_at":"2017-08-03T02:13:38Z","updated_at":"2019-10-31T21:08:44Z","pushed_at":"2019-11-06T23:37:55Z","git_url":"git://github.com/rayman22201/Nim.git","ssh_url":"git@github.com:rayman22201/Nim.git","clone_url":"https://github.com/rayman22201/Nim.git","svn_url":"https://github.com/rayman22201/Nim","homepage":"http://nim-lang.org/","size":82139,"stargazers_count":0,"watchers_count":0,"language":"Nim","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"nim-lang:devel","ref":"devel","sha":"21fc8b4d4d82637fab831cffed0e5b995ec7f16c","user":{"login":"nim-lang","id":603863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMzg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/603863?v=4","gravatar_id":"","url":"https://api.github.com/users/nim-lang","html_url":"https://github.com/nim-lang","followers_url":"https://api.github.com/users/nim-lang/followers","following_url":"https://api.github.com/users/nim-lang/following{/other_user}","gists_url":"https://api.github.com/users/nim-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/nim-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim-lang/subscriptions","organizations_url":"https://api.github.com/users/nim-lang/orgs","repos_url":"https://api.github.com/users/nim-lang/repos","events_url":"https://api.github.com/users/nim-lang/events{/privacy}","received_events_url":"https://api.github.com/users/nim-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":842037,"node_id":"MDEwOlJlcG9zaXRvcnk4NDIwMzc=","name":"Nim","full_name":"nim-lang/Nim","private":false,"owner":{"login":"nim-lang","id":603863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMzg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/603863?v=4","gravatar_id":"","url":"https://api.github.com/users/nim-lang","html_url":"https://github.com/nim-lang","followers_url":"https://api.github.com/users/nim-lang/followers","following_url":"https://api.github.com/users/nim-lang/following{/other_user}","gists_url":"https://api.github.com/users/nim-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/nim-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim-lang/subscriptions","organizations_url":"https://api.github.com/users/nim-lang/orgs","repos_url":"https://api.github.com/users/nim-lang/repos","events_url":"https://api.github.com/users/nim-lang/events{/privacy}","received_events_url":"https://api.github.com/users/nim-lang/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nim-lang/Nim","description":"Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).","fork":false,"url":"https://api.github.com/repos/nim-lang/Nim","forks_url":"https://api.github.com/repos/nim-lang/Nim/forks","keys_url":"https://api.github.com/repos/nim-lang/Nim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nim-lang/Nim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nim-lang/Nim/teams","hooks_url":"https://api.github.com/repos/nim-lang/Nim/hooks","issue_events_url":"https://api.github.com/repos/nim-lang/Nim/issues/events{/number}","events_url":"https://api.github.com/repos/nim-lang/Nim/events","assignees_url":"https://api.github.com/repos/nim-lang/Nim/assignees{/user}","branches_url":"https://api.github.com/repos/nim-lang/Nim/branches{/branch}","tags_url":"https://api.github.com/repos/nim-lang/Nim/tags","blobs_url":"https://api.github.com/repos/nim-lang/Nim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nim-lang/Nim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nim-lang/Nim/git/refs{/sha}","trees_url":"https://api.github.com/repos/nim-lang/Nim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nim-lang/Nim/statuses/{sha}","languages_url":"https://api.github.com/repos/nim-lang/Nim/languages","stargazers_url":"https://api.github.com/repos/nim-lang/Nim/stargazers","contributors_url":"https://api.github.com/repos/nim-lang/Nim/contributors","subscribers_url":"https://api.github.com/repos/nim-lang/Nim/subscribers","subscription_url":"https://api.github.com/repos/nim-lang/Nim/subscription","commits_url":"https://api.github.com/repos/nim-lang/Nim/commits{/sha}","git_commits_url":"https://api.github.com/repos/nim-lang/Nim/git/commits{/sha}","comments_url":"https://api.github.com/repos/nim-lang/Nim/comments{/number}","issue_comment_url":"https://api.github.com/repos/nim-lang/Nim/issues/comments{/number}","contents_url":"https://api.github.com/repos/nim-lang/Nim/contents/{+path}","compare_url":"https://api.github.com/repos/nim-lang/Nim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nim-lang/Nim/merges","archive_url":"https://api.github.com/repos/nim-lang/Nim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nim-lang/Nim/downloads","issues_url":"https://api.github.com/repos/nim-lang/Nim/issues{/number}","pulls_url":"https://api.github.com/repos/nim-lang/Nim/pulls{/number}","milestones_url":"https://api.github.com/repos/nim-lang/Nim/milestones{/number}","notifications_url":"https://api.github.com/repos/nim-lang/Nim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nim-lang/Nim/labels{/name}","releases_url":"https://api.github.com/repos/nim-lang/Nim/releases{/id}","deployments_url":"https://api.github.com/repos/nim-lang/Nim/deployments","created_at":"2010-08-16T20:38:58Z","updated_at":"2019-11-11T17:25:51Z","pushed_at":"2019-11-11T16:44:49Z","git_url":"git://github.com/nim-lang/Nim.git","ssh_url":"git@github.com:nim-lang/Nim.git","clone_url":"https://github.com/nim-lang/Nim.git","svn_url":"https://github.com/nim-lang/Nim","homepage":"https://nim-lang.org/","size":85039,"stargazers_count":8319,"watchers_count":8319,"language":"Nim","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":922,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1444,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":922,"open_issues":1444,"watchers":8319,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/nim-lang/Nim/pulls/11724"},"html":{"href":"https://github.com/nim-lang/Nim/pull/11724"},"issue":{"href":"https://api.github.com/repos/nim-lang/Nim/issues/11724"},"comments":{"href":"https://api.github.com/repos/nim-lang/Nim/issues/11724/comments"},"review_comments":{"href":"https://api.github.com/repos/nim-lang/Nim/pulls/11724/comments"},"review_comment":{"href":"https://api.github.com/repos/nim-lang/Nim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nim-lang/Nim/pulls/11724/commits"},"statuses":{"href":"https://api.github.com/repos/nim-lang/Nim/statuses/4fd2e4f6732e34b32767f96a9e3eb5b1c50d17b8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":8,"maintainer_can_modify":false,"commits":2,"additions":64,"deletions":11,"changed_files":2}}
other: {"actor":{"display_login":"rayman22201"}}