{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/11229","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/11229/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11229/comments","events_url":"https://api.github.com/repos/golang/go/issues/11229/events","html_url":"https://github.com/golang/go/issues/11229","id":88591929,"number":11229,"title":"cmd/yacc: move to subrepo","user":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/31","html_url":"https://github.com/golang/go/milestones/Go1.7","labels_url":"https://api.github.com/repos/golang/go/milestones/31/labels","id":1414133,"number":31,"title":"Go1.7","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":278,"closed_issues":181,"state":"open","created_at":"2015-11-16T16:57:07Z","updated_at":"2016-04-05T05:53:36Z","due_on":"2016-07-31T07:00:00Z","closed_at":null},"comments":6,"created_at":"2015-06-16T02:15:01Z","updated_at":"2016-04-05T06:31:00Z","closed_at":null,"body":"For Go 1.6 I intend to replace the use of cmd/yacc in the compiler with a hand-written recursive descent parser, as much a line-by-line translation of the current go.y as is possible. I've already done the conversion once, a month ago, although I'll have to redo it due to recent compiler changes.\n\nAfter that's done, there will be no uses of cmd/yacc in the main repo. A recent mail to golang-dev points out that cmd/yacc has never shipped with gccgo. \n\nPerhaps for Go 1.6 we should think about moving cmd/yacc out of the main distribution and into a subrepo. It will be easier for people to 'go get' and stay up to date, and there will no longer be any compelling reason for keeping it in the main repo (if there ever was)."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/205672830","html_url":"https://github.com/golang/go/issues/11229#issuecomment-205672830","issue_url":"https://api.github.com/repos/golang/go/issues/11229","id":205672830,"user":{"login":"minux","id":135652,"avatar_url":"https://avatars.githubusercontent.com/u/135652?v=3","gravatar_id":"","url":"https://api.github.com/users/minux","html_url":"https://github.com/minux","followers_url":"https://api.github.com/users/minux/followers","following_url":"https://api.github.com/users/minux/following{/other_user}","gists_url":"https://api.github.com/users/minux/gists{/gist_id}","starred_url":"https://api.github.com/users/minux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minux/subscriptions","organizations_url":"https://api.github.com/users/minux/orgs","repos_url":"https://api.github.com/users/minux/repos","events_url":"https://api.github.com/users/minux/events{/privacy}","received_events_url":"https://api.github.com/users/minux/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T06:31:00Z","updated_at":"2016-04-05T06:31:00Z","body":"Have we announced this plan publicly? I think removing it without\nprior notice will break a lot of //go:generate lines.\n\nI propose that we make a copy of cmd/yacc to x/tools/cmd/goyacc\nat the start of the Go 1.7 freeze, but we release cmd/yacc one more\ntime in Go 1.7 and call out in the release docs that Go 1.7 is the last\nrelease containing `go tool yacc` and prompt users to switch to\nx/tools/cmd/goyacc.\n"}}