Does Golang have LR(1) grammar?

83 views Asked by At

Does Golang have LR(1) grammar? In other words, can any Golang code be parsed by LR(1) parser? If yes, can we get this grammar rules?

The question is about the latest Go versions 1.20+

I have tried to find Golang grammar or grammar type for the latest versions but have not found anything

0

There are 0 answers