Re: [go-nuts] is golang(1.13)'s parser is a LL(1) parser?

2020-07-17 Thread Ian Lance Taylor
On Fri, Jul 17, 2020 at 8:28 AM xie cui wrote: > > is golang(1.13)'s parser is a LL(1) parser? The parser used by the gc compiler is a recursive descent parser (https://golang.org/src/cmd/compile/internal/syntax/parser.go). Ian -- You received this message because you are subscribed to the

Re: [go-nuts] is golang(1.13)'s parser is a LL(1) parser?

2020-07-17 Thread Jan Mercl
Go grammar is not LL(1) AFAICT. It's very close to LALR(1), but with an ambiguity that has a fully defined resolution in the language specification. On Fri, Jul 17, 2020, 17:28 xie cui wrote: > is golang(1.13)'s parser is a LL(1) parser? > > -- > You received this message because you are

[go-nuts] is golang(1.13)'s parser is a LL(1) parser?

2020-07-17 Thread xie cui
is golang(1.13)'s parser is a LL(1) parser? -- 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. To view this discussion on