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.