Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Macros for JavaScript have been available for a long time[0], you can even use the C preprocessor[1]. Also I wrote a macro plugin for babel just yesterday [2]

[0] http://sweetjs.org/

[1] http://www.nongnu.org/espresso/js-cpp.html

[2] https://github.com/codemix/babel-plugin-macros



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: