3 ms·
Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
by fucking_tragedy 7y ago
Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
- thomasjames 7y agoWhoops, I meant that use set/longjmp() to implement coroutines. My wording in retrospect was super unclear. Sorry!