Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fucking_tragedy
· 7y ago · 0 comments
Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
Comments
[–]
thomasjames
7y ago
Whoops, I meant that use set/longjmp() to implement coroutines. My wording in retrospect was super unclear. Sorry!