Hacker News new | ask | show | jobs
by c-a 4537 days ago
Why call it a library when it's a code generator/compiler?
2 comments

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