As the macro system has become so fundamental to Porth, Alexey sould double down with meta macros.
Meta macros would expand generators, providing similar functionality to while loops but for macros.
New keywords gen
and meta
would be introduced, and intrinsic generator iota
:
gen enum_names A B C end
meta
macro enum_names iota end