doze79040 2010-07-25 01:47
浏览 24
已采纳

Go编程语言是用哪种语言编写的?

I think the title is self explanatory.

  • 写回答

3条回答 默认 最新

  • dpg78570 2010-07-25 01:58
    关注

    Programming languages aren't programs, hence they're not "written" in any language. They are often described by formal grammars (e.g. BNF).

    Interpreters and compilers for programming languages are programs and so must be written in some kind of programming language.

    Go has at least two compilers, gc and gccgo. The former was written in C, but is now written in Go itself. While the latter is a gcc frontend written mainly in C++. Go's libraries are written in Go.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?