Spec for compilers

Posted on

I know the language spec of Go. That covers the language itself. But in order to build a compatible Go compiler, one would also need a spec covering build flags, special directories (vendor, internal), and how the compiler should dead with modules. I know this informations are there and can be found, but is there a single place where there a covered in a specification with some stability guarantee, similar to the language spec?