{"action":"created","issue":{"url":"https://api.github.com/repos/ostap/comp/issues/38","labels_url":"https://api.github.com/repos/ostap/comp/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ostap/comp/issues/38/comments","events_url":"https://api.github.com/repos/ostap/comp/issues/38/events","html_url":"https://github.com/ostap/comp/issues/38","id":121452712,"number":38,"title":"Building the tool","user":{"login":"soveran","id":951,"avatar_url":"https://avatars.githubusercontent.com/u/951?v=3","gravatar_id":"","url":"https://api.github.com/users/soveran","html_url":"https://github.com/soveran","followers_url":"https://api.github.com/users/soveran/followers","following_url":"https://api.github.com/users/soveran/following{/other_user}","gists_url":"https://api.github.com/users/soveran/gists{/gist_id}","starred_url":"https://api.github.com/users/soveran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soveran/subscriptions","organizations_url":"https://api.github.com/users/soveran/orgs","repos_url":"https://api.github.com/users/soveran/repos","events_url":"https://api.github.com/users/soveran/events{/privacy}","received_events_url":"https://api.github.com/users/soveran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T10:30:05Z","updated_at":"2015-12-10T18:33:13Z","closed_at":null,"body":"I'm using this makefile:\r\n\r\n```makefile\r\ny.output:\r\n\tgo tool yacc -o src/comp/y.go -p \"comp_\" src/comp/grammar.y\r\n\r\ntest: comp\r\n\tgo test comp\r\n\r\ncomp: y.output\r\n\tgo build ./src/comp\r\n```\r\n\r\nI think it may be useful to have it in the repo. Regardless, I think the `go build ./src/comp` step is missing in the README. I can submit a pull request either for adding that step to the README, or to provide a makefile with the corresponding modifications to the README."},"comment":{"url":"https://api.github.com/repos/ostap/comp/issues/comments/163711200","html_url":"https://github.com/ostap/comp/issues/38#issuecomment-163711200","issue_url":"https://api.github.com/repos/ostap/comp/issues/38","id":163711200,"user":{"login":"ostap","id":679030,"avatar_url":"https://avatars.githubusercontent.com/u/679030?v=3","gravatar_id":"","url":"https://api.github.com/users/ostap","html_url":"https://github.com/ostap","followers_url":"https://api.github.com/users/ostap/followers","following_url":"https://api.github.com/users/ostap/following{/other_user}","gists_url":"https://api.github.com/users/ostap/gists{/gist_id}","starred_url":"https://api.github.com/users/ostap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostap/subscriptions","organizations_url":"https://api.github.com/users/ostap/orgs","repos_url":"https://api.github.com/users/ostap/repos","events_url":"https://api.github.com/users/ostap/events{/privacy}","received_events_url":"https://api.github.com/users/ostap/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T18:33:13Z","updated_at":"2015-12-10T18:33:13Z","body":"It has been a while since I last looked at it. From what I understand, go tools evolved and the whole step of changing the GOPATH can be eliminated. This, however, involves changing the commands above:\r\n\r\n```\r\n$ echo $GOPATH\r\n/home/ostap/gopath\r\n$ pwd\r\n/home/ostap/comp\r\n$ go tool yacc -o src/comp/y.go -p \"comp_\" src/comp/grammar.y\r\n$ go build -o comp src/comp/*.go\r\n$ go test src/comp/*.go\r\n```\r\n\r\nI will gladly accept a pull request with the Makefile and a README update."}}