Common Lisp Flavored News Today : Breaking News, Live Updates & Top Stories | Vimarsana

Stay updated with breaking news from Common lisp flavored. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.

Top News In Common Lisp Flavored Today - Breaking & Trending Today

Generalized Macros

I’ve been writing a lot of Janet lately, and I’ve been especially enjoying my time with the macro system.
Janet macros are Common Lisp-flavored unhygienic gensym-style macros. They are extremely powerful, and very easy to write, but they can be pretty tricky to get right. It’s easy to make mistakes that lead to unwanted variable capture, or to write macros that only work if they’re expanded in particular contexts, and it can be pretty difficult to detect these problems ahead of time.
So people have spent a lot of time thinking about ways to write macros more safely – sometimes at the cost of expressiveness or simplicity – and almost all recent languages use some sort of hygienic macro system that defaults to doing the right thing.
But as far as I know, no one has approached macro systems from the other direction. No one looked at Common Lisp’s macros and said “What if these macros aren’t dangerous enough? What if we could m ....

Common Lisp Flavored , Common Lisp , Old Days ,