Re:Neugram – Scripting in Go
by didibus on Saturday November 04, 2017 @02:40AM
(#15624070)
I'm not sure Go has a spec. The page says spec, but the content says its the reference manual. So I'm guessing it's more focused on learning how to use the language then on writing an alternative implementation of it.
[ Parent
| on HN ]
https://golang.org/ref/spec certainly is a specification of the Go language.
Whenever a difference is found between the two Go compilers, gccgo and gc, the spec is consulted to see which is right. If the spec is not clear on which compiler is right, then the spec is changed so it is.
When the third frontend was written (go/parser and go/types in the standard library), the spec played a similar role. Though far fewer changes were made to the spec, suggesting it is getting pretty good.