Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
taejo
on Jan 8, 2014
|
parent
|
context
|
favorite
| on:
Stop Writing JavaScript Compilers, Make Macros Ins...
Unhygienic macros aren't a C-ism: hygiene was an innovation (I think originally in Scheme). Ordinary Common Lisp macros are unhygienic.
aaronem
on Jan 8, 2014
[–]
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.
mnemonik
on Jan 8, 2014
|
parent
[–]
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: