You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gensym function can be very useful in macros. It can be effectively implemented by creating symbols that are not added to symlist, so such symbols can be removed by the garbage collector and may not have a string representation.
This is how you can change the implementation of the for macro from 'scripts/macros.fe' using gensym:
Maybe. But I hope @rxi just doesn't have time for his projects right now. Most of his projects are not dead, but completed. This project is more complete than dead. I'm very fascinated by the minimalism, simplicity, and practicality of this language and sometimes find (I think) possible improvements.
The
gensym
function can be very useful in macros. It can be effectively implemented by creating symbols that are not added tosymlist
, so such symbols can be removed by the garbage collector and may not have a string representation.This is how you can change the implementation of the
for
macro from 'scripts/macros.fe' usinggensym
:It is assumed that
for-iter
should not be visible whenbody
is called. I'm implemented it in my fork.The text was updated successfully, but these errors were encountered: