3 ms·
Most of chapter 4 will be impossible to really translate to JS because JS has no macros (required to implement some of the special forms like delay) and isn't h
by anaphor 13y ago
Most of chapter 4 will be impossible to really translate to JS because JS has no macros (required to implement some of the special forms like delay) and isn't homoiconic.
- azakai 13y agohttp://sweetjs.org/ http://sweetjs.org/
- anaphor 13y agoOkay, that's cool, but I still think a lot of the explanations wouldn't make sense with code translated to JS, because of the lack of homoiconicity.
- Gonzih 13y agoCan it use JS for transformation logic?
- spacemanaki 13y agoIt's not about macros, it's about homoiconicity. I encourage you to read chapters 4 and 5 and think about how sweet.js would help you port those chapters to JS.