In all the supported versions of Go, that is Go 1.9 and soon Go 1.10, the 
grammar is written in Go. You will find the source 
here https://github.com/golang/go/tree/master/src/cmd/compile/internal/syntax

On Wednesday, 13 December 2017 10:53:45 UTC+11, erfang...@gmail.com wrote:
>
> im for test , want change
>
> package token lex , to another text.
>
> example change package to   testpackage.
>
> -----------------------
>
> lexer/grammer is write at C or GO?
>
> On Wednesday, December 13, 2017 at 3:18:11 AM UTC+3:30, Dave Cheney wrote:
>>
>> Sorry, Go 1.4 is no longer supported, it is only used for bootstrapping. 
>> We will not fix /home/guest/go1.4/src/cmd/cc/cc.y
>>
>> On Wednesday, 13 December 2017 10:41:57 UTC+11, erfang...@gmail.com 
>> wrote:
>>>
>>> at go1.4 version.
>>> compiler and lexer,parser is write at C? or GO?
>>>
>>> can check and change grammer at  /home/guest/go1.4/src/cmd/cc/cc.y ?
>>>
>>

-- 
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.

Reply via email to