Hi, I'm following with https://github.com/goccmack/gocc/blob/master/doc/gocc_user_guide.pdf
and I'm at the step of trying to provide my own ast: For a single bnf of: Hello: "hello" id << ast.NewHello($1) >> ; (https://github.com/suntong/lang/blob/master/lang/Go/src/parsers/gocc/ex3-hello/hello.bnf) How to provide the corresponding ast.go? My first try was: https://github.com/suntong/lang/blob/master/lang/Go/src/parsers/gocc/ex3-hello/ast/ast.go and I've made several other attempts, but still unable to make it work. please help. On Sun, Jan 9, 2022 at 12:37 PM Tong Sun wrote: > How to overcome such hurdle? thx! Set GO111MODULE=on fixed it. -- 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 the web visit https://groups.google.com/d/msgid/golang-nuts/CAMmz1OcNjs%2BEaSr9tgQnoYu%3DgEA9yTwj_exgPNiXcyweNPJdKA%40mail.gmail.com.