{"action":"opened","issue":{"url":"https://api.github.com/repos/google/skylark/issues/63","repository_url":"https://api.github.com/repos/google/skylark","labels_url":"https://api.github.com/repos/google/skylark/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/google/skylark/issues/63/comments","events_url":"https://api.github.com/repos/google/skylark/issues/63/events","html_url":"https://github.com/google/skylark/issues/63","id":296835316,"number":63,"title":"Preserve comments in the AST","user":{"login":"laurentlb","id":485572,"avatar_url":"https://avatars2.githubusercontent.com/u/485572?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentlb","html_url":"https://github.com/laurentlb","followers_url":"https://api.github.com/users/laurentlb/followers","following_url":"https://api.github.com/users/laurentlb/following{/other_user}","gists_url":"https://api.github.com/users/laurentlb/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentlb/subscriptions","organizations_url":"https://api.github.com/users/laurentlb/orgs","repos_url":"https://api.github.com/users/laurentlb/repos","events_url":"https://api.github.com/users/laurentlb/events{/privacy}","received_events_url":"https://api.github.com/users/laurentlb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T18:12:21Z","updated_at":"2018-02-13T18:12:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The parser should have an option to capture the comments and attach them to AST nodes (https://talks.go-zh.org/2015/gofmt-en.slide#31). For convergence, we probably want to do like in Buildifier (https://github.com/bazelbuild/buildtools/blob/master/build/syntax.go#L59).\r\n\r\nComments are useful for a wide range of applications (linter, formatting, refactoring...)."}}
{"actor":{"display_login":"laurentlb"}}