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

Not yet, but it's theoretically possibly with all the groundwork that's already been done. See https://github.com/mozilla/sweet.js/issues/12

So I should have said syntax-rules (for now). My bad!



Seems like you would still need to provide something like syntax objects and a special API to manipulate them?


This involves a longer discussion, and I'm not sure what Tim is thinking along those lines. Suffice to say, Clojure's macros are always going to be the best, but I have pretty high hopes that you can get 95% of the way with sweet.js. :)


Yes indeed. Sweet.js already uses syntax objects internally so the groundwork is there for syntax-case. We "just" need to implement and surface the API :)




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

Search: