On Wed, Aug 31, 2016 at 10:31 AM, samueltan via golang-nuts <golang-nuts@googlegroups.com> wrote: > May I know what the status of compiler plugins are as of Go 1.7? I'm hoping > to add an additional stage of static checking to the Go compilation process, > and the only way to do this right now seems to be to write a go vet check.
The status is unchanged. There is no support for compiler plugins and no plans for them. I make no promise that the Go compiler will ever support plugins. I think an external program, along the lines of go vet, is the right approach to use for additional static checking. Ian > On Wednesday, October 7, 2015 at 9:59:26 AM UTC-7, Ian Lance Taylor wrote: >> >> On Wed, Oct 7, 2015 at 8:09 AM, Ilya Kowalewski >> <illya.ko...@gmail.com> wrote: >> > I am asking, cos compiler plugins and related seems like a subject of a >> > deep >> > discussion: some people might not like the whole idea of intervening the >> > compile process. Even now I can see people complaining about any plugin >> > functionality. E.g: "you won't be able to compile some software straight >> > away with go-get if it depends on some compiler plugins" and etc >> >> I see, sorry. I was answering about plugins in general, and you are >> asking specifically about compiler plugins. I think we are a long way >> from even considering the possibility of compiler plugins. And I >> don't really understand the point of supporting plugins in something >> like the Go compiler, which is fast to build and which can in >> principle be split up into packages that people can call directly. >> >> Ian >> >> > On Wed, 7 Oct 2015 at 17:28 Ian Lance Taylor <ia...@golang.org> wrote: >> >> >> >> On Wed, Oct 7, 2015 at 6:50 AM, Ilya Kowalewski >> >> <illya.ko...@gmail.com> wrote: >> >> > I'd love to, but this seems to be an incredibly complicated subject, >> >> > which >> >> > requires a correponding level of expertise. Is it ok to file a >> >> > proposal >> >> > / >> >> > ask for help or expertise in the meantime? >> >> >> >> I think people are aware of the issue. There is a proposed interface >> >> at https://golang.org/s/execmodes . I don't think we need a separate >> >> proposal or anything. >> >> >> >> Ian >> > >> > -- >> > Talk is cheap. Show me the code. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.