On Thu, Dec 13, 2018 at 9:25 PM Dmitry Ponyatov <dponya...@gmail.com> wrote: > > Is it possible to do metaprogramming in Go? > > What I want to have is a way to run arbitrary code in compile time, which has > full access to compiler data structures > (parsed syntax trees, compiler stages callbacks, direct code generator calls). > > As a variant, it can be some Lisp system runs between parser stage and the > rest of Go compiler.
Go doesn't support this. Sorry. Ian -- 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.