3 ms·
Macros are great. I'm writing a hy-like lisp language that compiles to lua. A lot of features (Simple OO, list/dict comprehensive etc.) are written in macros.
by larme 11y ago
Macros are great.
I'm writing a hy-like lisp language that compiles to lua. A lot of features (Simple OO, list/dict comprehensive etc.) are written in macros.
https://github.com/larme/hua/tree/master/hua/core https://github.com/larme/hua/tree/master/hua/core
On the other hand, they may be difficult to debug.