HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by c-a | Hacker News Reader
Full thread
c-a
·
Why call it a library when it's a code generator/compiler?
View on HN
mwsherman
·
Author here, you’re right. I prefer to call it a tool or an ‘approach’ but whatevs. :)
Refefer
·
I would argue this is a new language which just happens to compile to go.
c-a
·
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
Reply on news.ycombinator.com