Re:Gen - a generics library for Go
by c-a on Saturday January 11, 2014 @07:00PM
(#7044406)
Why call it a library when it's a code generator/compiler?
[ Parent
| on HN ]
Author here, you’re right. I prefer to call it a tool or an ‘approach’ but whatevs. :)
I would argue this is a new language which just happens to compile to go.
Actually it's a code generator with a library of functions it can generate. This is how the "generics" are implemented: https://github.com/clipperhouse/gen/blob/master/templates.go