Re:Stop Writing JavaScript Compilers, Make Macros Instead
by disnet on Wednesday January 08, 2014 @09:25PM
(#7028362)
Actually sweet.js just landed infix macros [1] so you can match on syntax that comes before the macro name. This just happened last week so we haven't updated the docs or made an official release just yet.
[1] https://github.com/mozilla/sweet.js/pull/162