Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
c-a
· 12y ago · 0 comments
Why call it a library when it's a code generator/compiler?
Comments
[–]
mwsherman
12y ago
Author here, you’re right. I prefer to call it a tool or an ‘approach’ but whatevs. :)
[–]
Refefer
12y ago
I would argue this is a new language which just happens to compile to go.
[–]
c-a
OP
12y 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