Y
Hacker News
new
|
ask
|
show
|
jobs
by
fucking_tragedy
2485 days ago
Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
1 comments
thomasjames
2485 days ago
Whoops, I meant that use set/longjmp() to implement coroutines. My wording in retrospect was super unclear. Sorry!
link