Continuations

c1.rb jump out of an inner loop
c2.rb interrupting a method
c3.rb jump out of a nested call
fac.rb tail-recursive factorial
c4.rb binary search
c5.rb compare continuations with normal procedure calls
c6.rb a procedure object ujsing proc
c7.rb producer-consumer with filter
c8.rb simulating a Web application without continuations
c9.rb simulating a Web application with continuations
oldpmseadide.rb A Web application - poor man's Seaside, old version
c10.rb simplification of c2.rb
c11.rb Ruby Generator
c12.rb coroutines
coroutine.rb coroutines, another version
c13.rb generator example
c14.rb The Same Fringe problem (trees)
c15.rb more examples
Revised Poor Man's Seaside to create a single threaded process needed for the new Webrick, from Chad Fowler