Toying with a node.js project. Feels rather like manually coding in continuation-passing style.
miniblog.
Related Posts
Cute demonstration of implementing generators in terms of delimited continuations: https://defn.io/2019/09/05/racket-generators/
It might be Scheme, but the examples have a lot of syntax! parameterize, let loop, variadic functions, call-with-continuation-prompt (with 2 or 3 args).
I've written a Python program that *requires* TCO. I'm going to have to rewrite in continuation passing style. Argh.