News for hackers. Stuff that matters.
Re:Stop Writing JavaScript Compilers, Make Macros Instead by 6cxs2hd6 on Wednesday January 08, 2014 @03:20PM (#7026282)
Racket shows how, with strong module support, a whole "tower of languages a.k.a. macros" can work reliably. Else not so much.
Re:Stop Writing JavaScript Compilers, Make Macros Instead by klibertp on Wednesday January 08, 2014 @05:02PM (#7027063)
Also, macros in racket are lexically scoped. Any modern macro system should follow their design, IMHO.
Re:Stop Writing JavaScript Compilers, Make Macros Instead by dherman on Wednesday January 08, 2014 @11:23PM (#7028750)
Agreed, and happily sweet.js is very consciously modeled after Racket.
Re:Stop Writing JavaScript Compilers, Make Macros Instead by klibertp on Thursday January 09, 2014 @05:24AM (#7029674)
That's the best thing I read this morning and a reason why I'm going to give sweet.js a closer look :)