by rcarmo·12y ago·view on hn ↗Best way I know of using macros in JS is https://github.com/Gozala/wisp, which generates pretty readable code. If you're going to pre-process, you might as well write in a nicer language...