{"action":"closed","number":2593,"pull_request":{"url":"https://api.github.com/repos/nitlang/nit/pulls/2593","id":155436911,"html_url":"https://github.com/nitlang/nit/pull/2593","diff_url":"https://github.com/nitlang/nit/pull/2593.diff","patch_url":"https://github.com/nitlang/nit/pull/2593.patch","issue_url":"https://api.github.com/repos/nitlang/nit/issues/2593","number":2593,"state":"closed","locked":false,"title":"highlight with ansi color (for console)","user":{"login":"privat","id":135828,"avatar_url":"https://avatars1.githubusercontent.com/u/135828?v=4","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"body":"Because the nit interactive interpreter and nitx might want it\r\n\r\n![capture du 2017-11-29 14-05-07](https://user-images.githubusercontent.com/135828/33395803-abb12fdc-d514-11e7-9921-75a3a1ec00bb.png)\r\n\r\nThis provides a new `AnsiHighlightVisitor` than can do stuff\r\n\r\nNote: colors are currently hard-coded and only comments, keywords, classnames and literals are highlighted. However, since this reuse the full highlighting infrastructure, a lot of semantic things can be added.","created_at":"2017-11-29T19:55:10Z","updated_at":"2017-12-04T14:15:37Z","closed_at":"2017-12-04T14:15:37Z","merged_at":"2017-12-04T14:15:37Z","merge_commit_sha":"19ee9477553d9b6be60c065423241ef13cbef22b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nitlang/nit/pulls/2593/commits","review_comments_url":"https://api.github.com/repos/nitlang/nit/pulls/2593/comments","review_comment_url":"https://api.github.com/repos/nitlang/nit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nitlang/nit/issues/2593/comments","statuses_url":"https://api.github.com/repos/nitlang/nit/statuses/19ee9477553d9b6be60c065423241ef13cbef22b","head":{"label":"privat:ansihighlight","ref":"ansihighlight","sha":"19ee9477553d9b6be60c065423241ef13cbef22b","user":{"login":"privat","id":135828,"avatar_url":"https://avatars1.githubusercontent.com/u/135828?v=4","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"repo":{"id":41187555,"name":"mynit","full_name":"privat/mynit","owner":{"login":"privat","id":135828,"avatar_url":"https://avatars1.githubusercontent.com/u/135828?v=4","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/privat/mynit","description":"Nit language","fork":true,"url":"https://api.github.com/repos/privat/mynit","forks_url":"https://api.github.com/repos/privat/mynit/forks","keys_url":"https://api.github.com/repos/privat/mynit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/privat/mynit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/privat/mynit/teams","hooks_url":"https://api.github.com/repos/privat/mynit/hooks","issue_events_url":"https://api.github.com/repos/privat/mynit/issues/events{/number}","events_url":"https://api.github.com/repos/privat/mynit/events","assignees_url":"https://api.github.com/repos/privat/mynit/assignees{/user}","branches_url":"https://api.github.com/repos/privat/mynit/branches{/branch}","tags_url":"https://api.github.com/repos/privat/mynit/tags","blobs_url":"https://api.github.com/repos/privat/mynit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/privat/mynit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/privat/mynit/git/refs{/sha}","trees_url":"https://api.github.com/repos/privat/mynit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/privat/mynit/statuses/{sha}","languages_url":"https://api.github.com/repos/privat/mynit/languages","stargazers_url":"https://api.github.com/repos/privat/mynit/stargazers","contributors_url":"https://api.github.com/repos/privat/mynit/contributors","subscribers_url":"https://api.github.com/repos/privat/mynit/subscribers","subscription_url":"https://api.github.com/repos/privat/mynit/subscription","commits_url":"https://api.github.com/repos/privat/mynit/commits{/sha}","git_commits_url":"https://api.github.com/repos/privat/mynit/git/commits{/sha}","comments_url":"https://api.github.com/repos/privat/mynit/comments{/number}","issue_comment_url":"https://api.github.com/repos/privat/mynit/issues/comments{/number}","contents_url":"https://api.github.com/repos/privat/mynit/contents/{+path}","compare_url":"https://api.github.com/repos/privat/mynit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/privat/mynit/merges","archive_url":"https://api.github.com/repos/privat/mynit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/privat/mynit/downloads","issues_url":"https://api.github.com/repos/privat/mynit/issues{/number}","pulls_url":"https://api.github.com/repos/privat/mynit/pulls{/number}","milestones_url":"https://api.github.com/repos/privat/mynit/milestones{/number}","notifications_url":"https://api.github.com/repos/privat/mynit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/privat/mynit/labels{/name}","releases_url":"https://api.github.com/repos/privat/mynit/releases{/id}","deployments_url":"https://api.github.com/repos/privat/mynit/deployments","created_at":"2015-08-22T03:08:04Z","updated_at":"2016-01-29T12:07:28Z","pushed_at":"2017-12-04T14:07:53Z","git_url":"git://github.com/privat/mynit.git","ssh_url":"git@github.com:privat/mynit.git","clone_url":"https://github.com/privat/mynit.git","svn_url":"https://github.com/privat/mynit","homepage":"http://nitlanguage.org","size":121839,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nitlang:master","ref":"master","sha":"f1bc8aa1702044b7bb63023cc84f950bd57b3522","user":{"login":"nitlang","id":5420298,"avatar_url":"https://avatars1.githubusercontent.com/u/5420298?v=4","gravatar_id":"","url":"https://api.github.com/users/nitlang","html_url":"https://github.com/nitlang","followers_url":"https://api.github.com/users/nitlang/followers","following_url":"https://api.github.com/users/nitlang/following{/other_user}","gists_url":"https://api.github.com/users/nitlang/gists{/gist_id}","starred_url":"https://api.github.com/users/nitlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitlang/subscriptions","organizations_url":"https://api.github.com/users/nitlang/orgs","repos_url":"https://api.github.com/users/nitlang/repos","events_url":"https://api.github.com/users/nitlang/events{/privacy}","received_events_url":"https://api.github.com/users/nitlang/received_events","type":"Organization","site_admin":false},"repo":{"id":328597,"name":"nit","full_name":"nitlang/nit","owner":{"login":"nitlang","id":5420298,"avatar_url":"https://avatars1.githubusercontent.com/u/5420298?v=4","gravatar_id":"","url":"https://api.github.com/users/nitlang","html_url":"https://github.com/nitlang","followers_url":"https://api.github.com/users/nitlang/followers","following_url":"https://api.github.com/users/nitlang/following{/other_user}","gists_url":"https://api.github.com/users/nitlang/gists{/gist_id}","starred_url":"https://api.github.com/users/nitlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitlang/subscriptions","organizations_url":"https://api.github.com/users/nitlang/orgs","repos_url":"https://api.github.com/users/nitlang/repos","events_url":"https://api.github.com/users/nitlang/events{/privacy}","received_events_url":"https://api.github.com/users/nitlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nitlang/nit","description":"Nit language","fork":false,"url":"https://api.github.com/repos/nitlang/nit","forks_url":"https://api.github.com/repos/nitlang/nit/forks","keys_url":"https://api.github.com/repos/nitlang/nit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitlang/nit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitlang/nit/teams","hooks_url":"https://api.github.com/repos/nitlang/nit/hooks","issue_events_url":"https://api.github.com/repos/nitlang/nit/issues/events{/number}","events_url":"https://api.github.com/repos/nitlang/nit/events","assignees_url":"https://api.github.com/repos/nitlang/nit/assignees{/user}","branches_url":"https://api.github.com/repos/nitlang/nit/branches{/branch}","tags_url":"https://api.github.com/repos/nitlang/nit/tags","blobs_url":"https://api.github.com/repos/nitlang/nit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitlang/nit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitlang/nit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitlang/nit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitlang/nit/statuses/{sha}","languages_url":"https://api.github.com/repos/nitlang/nit/languages","stargazers_url":"https://api.github.com/repos/nitlang/nit/stargazers","contributors_url":"https://api.github.com/repos/nitlang/nit/contributors","subscribers_url":"https://api.github.com/repos/nitlang/nit/subscribers","subscription_url":"https://api.github.com/repos/nitlang/nit/subscription","commits_url":"https://api.github.com/repos/nitlang/nit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitlang/nit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitlang/nit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitlang/nit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitlang/nit/contents/{+path}","compare_url":"https://api.github.com/repos/nitlang/nit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitlang/nit/merges","archive_url":"https://api.github.com/repos/nitlang/nit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitlang/nit/downloads","issues_url":"https://api.github.com/repos/nitlang/nit/issues{/number}","pulls_url":"https://api.github.com/repos/nitlang/nit/pulls{/number}","milestones_url":"https://api.github.com/repos/nitlang/nit/milestones{/number}","notifications_url":"https://api.github.com/repos/nitlang/nit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitlang/nit/labels{/name}","releases_url":"https://api.github.com/repos/nitlang/nit/releases{/id}","deployments_url":"https://api.github.com/repos/nitlang/nit/deployments","created_at":"2009-10-06T15:03:00Z","updated_at":"2017-11-07T07:56:59Z","pushed_at":"2017-12-04T14:15:33Z","git_url":"git://github.com/nitlang/nit.git","ssh_url":"git@github.com:nitlang/nit.git","clone_url":"https://github.com/nitlang/nit.git","svn_url":"https://github.com/nitlang/nit","homepage":"http://nitlanguage.org","size":121736,"stargazers_count":163,"watchers_count":163,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"archived":false,"open_issues_count":179,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":57,"open_issues":179,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2593"},"html":{"href":"https://github.com/nitlang/nit/pull/2593"},"issue":{"href":"https://api.github.com/repos/nitlang/nit/issues/2593"},"comments":{"href":"https://api.github.com/repos/nitlang/nit/issues/2593/comments"},"review_comments":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2593/comments"},"review_comment":{"href":"https://api.github.com/repos/nitlang/nit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2593/commits"},"statuses":{"href":"https://api.github.com/repos/nitlang/nit/statuses/19ee9477553d9b6be60c065423241ef13cbef22b"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"privat","id":135828,"avatar_url":"https://avatars1.githubusercontent.com/u/135828?v=4","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"comments":1,"review_comments":5,"maintainer_can_modify":false,"commits":6,"additions":1266,"deletions":1093,"changed_files":13}}
{"actor":{"display_login":"privat"}}