yeah , in go1.4 version,i want know difference between files. ?! On Monday, February 19, 2018 at 2:04:09 AM UTC+3:30, Ian Lance Taylor wrote: > > On Sun, Feb 18, 2018 at 9:23 AM, Compiler <erfang...@gmail.com > <javascript:>> wrote: > > #Question > > > > What is the difference between using the following two files? > > > > /go/src/cmd/gc/go.y > > /go/src/cmd/cc/cc.y > > > > ------------- > > #Question > > > > What is the difference between using the following two files? > > > > /go/src/cmd/gc/lex.c > > /go/src/cmd/cc/lex.c > > You must be looking at a very old version of Go, as current versions > of Go do not contain either file. > > Old versions of Go shipped with a C compiler that was used to build > parts of the runtime that were written in C. Those parts were > rewritten into Go, and Go no longer ships a C compiler. Back then, > the Go compiler was in cmd/gc and the C compiler was in cmd/cc. > > Ian >
-- 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.