News for hackers. Stuff that matters.
Re:Go generate: A proposal for a Go preprocessor by stewbrew on Saturday September 27, 2014 @09:40AM (#8376986)

    with some blank lines interposed so the generator directive does not appear in the doc comment
It sound's hackish to me to use specially formatted comments to embed these directives in the source file.

The authors also don't provide an information if users will be able to write their own generators, do they?

Re:Go generate: A proposal for a Go preprocessor by mseepgood on Saturday September 27, 2014 @09:55AM (#8377021)
> The authors also don't provide an information if users will be able to write their own generators, do they?

Yes, generator calls are just calls to executable files.

Re:Go generate: A proposal for a Go preprocessor by stewbrew on Saturday September 27, 2014 @02:01PM (#8377702)
Oh sorry, I missed the obvious. So it's really rather a simplified Makefile mixed into the source in the form of specially formatted comments.