4 ms·
They recently did a mostly-automated rewrite of the compiler from C to Go. I expect it was easier to hand-rewrite the parser instead of writing a Go backend for
by koenigdavidmj 11y ago
They recently did a mostly-automated rewrite of the compiler from C to Go. I expect it was easier to hand-rewrite the parser instead of writing a Go backend for yacc or converting the C parser that yacc generated.
- nordsieck 11y agoIt looks like there has been a version of yacc in the go source tree (that works with go, not c) for at least 11 months. https://github.com/golang/go/tree/master/src/cmd/yacc https://github.com/golang/go/tree/master/src/cmd/yacc