Hey folks,

Why does Go reimplement the parser in pkg/go/parser on top of the one in 
cmd/compile/internal? Why have two packages with somewhat duplicate code? 
My guess is that it's easier to control what is public-public (available to 
authors of Go programs) vs public within the compiler by having the partial 
duplicate two packages?

Happy for links if this question has been asked before.

Thank you!
Phil

-- 
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/6c66c4c0-c0e2-4cd4-b8b5-3be42fc380d6n%40googlegroups.com.

Reply via email to