Would it be possible to add iterator support, writing a Python "generator" as a Nim "iterator"? In my estimation, this would allow for more efficient Nim based Python libraries to be exported, rather ...
A generator in Python is a special type of iterator that allows you to iterate over a sequence of values lazily, i.e., one at a time, on demand, without storing the entire sequence in memory.