The short version is the former was written before the Go compiler was ported to Go.
The longer story is laid out in this presentation from 2014. https://www.youtube.com/watch?v=QIE5nV5fDwA On Tuesday, 31 October 2017 04:30:06 UTC+11, Abyx wrote: > > Golang has two parsers. go/* for "go fmt", and cmd/compile/internal/syntax > for "go compile". > Why is that? > -- 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. For more options, visit https://groups.google.com/d/optout.