I've been thinking about a related idea for the past while ... "pure functions" ... i'll post an email about it now.
On Fri, Dec 14, 2018 at 6:06 AM roger peppe <rogpe...@gmail.com> wrote: > On Fri, 14 Dec 2018 at 14:01, <howardcs...@gmail.com> wrote: > >> Not sure where you got this impression - commands run by go generate have >> only the OS environment. They are just ordinary commands, as might be run >> by any shell script, just the calls to them are integrated into the Go >> tooling. >> >> Tools that seem to access go syntax trees and the like? They are simply >> using the parser and AST tools made available by Go to parse go code, and >> that can be done at any time, not just during go generate. >> > > Yup. How is that not metaprogramming though? > > -- > 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. > -- *Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>* -- 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.