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

Unhygienic macros aren't a C-ism: hygiene was an innovation (I think originally in Scheme). Ordinary Common Lisp macros are unhygienic.


So are sweet.js macros, or else they wouldn't need to have reimplemented GENSYM. But I get the impression (parent (parent)) had sweet.js macros mixed up with C-style string-replacement "macros", which was what prompted my comment.


Sweet.js is hygienic but you can choose to be unhygienic if you want.

It is the best of both worlds.

http://sweetjs.org/#getting_dirty__breaking_hygiene




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

Search: