News for hackers. Stuff that matters.
Re:Go generate: A proposal for a Go preprocessor by wycats on Saturday September 27, 2014 @02:48PM (#8377825)
Yes, compiler plugins. For a relevant example, check out the Rust docopt crate[1].

An identical technique could be used for yacc or protobufs.

[1]: https://github.com/docopt/docopt.rs

There are no comments on this comment yet.