Y
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
mwsherman
4537 days ago
Author here, you’re right. I prefer to call it a tool or an ‘approach’ but whatevs. :)
link
Refefer
4537 days ago
I would argue this is a new language which just happens to compile to go.
link
c-a
4537 days ago
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
link