Re:Show HN: Gojay – Performant JSON encoder/decoder for Golang
by vorg on Sunday May 20, 2018 @04:47PM
(#17114655)
An alternative to both Lisp-like macros and code generation is to trigger macros via annotations in the syntax, and for the macro to manipulate the AST directly using the "go/ast" package. Apache Groovy, which has the same curly-braces style syntax as Golang, does it like this.
[ Parent
| on HN ]
There are no comments on this comment yet.