Re:Lisp in 99 lines of C and how to write one yourself [pdf]
by bruce343434 on Friday July 15, 2022 @03:32AM
(#32105672)
This doesn't go into detail of how to make stackfull continuations work (and indeed when it is necessary to make a new stack). If you're working in C, you need to use inline assembly for this. setjmp and longjmp are not stackfull.
0: http://cs.brown.edu/courses/cs173/2012/book/Control_Operatio...
1: https://matt.might.net/articles/cps-conversion/
2: https://okmij.org/ftp/continuations/against-callcc.html