HN2new | past | comments | ask | show | jobs | submitlogin

I watched Jonathan Blow's introduction to macros in the Jai language[1] that he develops. Basically he made the for loop to be a macro (what he called a "hygienic macro") and it can be overloaded for various types of iterators. (watch past minute 6:30)

[1] https://www.youtube.com/watch?v=QX46eLqq1ps



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

Search: