Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Simulation of other Paradigms and Continuations

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

The forms discussed.other-paradigms-E15.scmSlide context--
The definition of a 'class Point ' with methods getx , gety , add , and type-of.point-all.scmSlide context--
A general template of a simulated class.class-template.scmSlide context--
Accompanying functions for instantiation and message passing.class-template-functions.scmSlide context--
The class Point implemented with use of the general class template.point-class-all.scmSlide context--
A sample construction and dialogue with point.point-dialogueSlide context--
A general template of a simulated class with inheritance.class-template-inh.scmSlide context--
The root of a class hierarchy.object-class.scmSlide context--
Accompanying functions for instantiation, message passing, and method lookup.class-template-functions-inh.scmSlide context--
A specialization of Point which is called ColorPoint.colorpoint-class-all.scmSlide context--
A sample construction and sample dialogue with ColorPoint.color-point-dialogueSlide context--
A general template of a simulated class with inheritance.class-template-inh-virtual.scmSlide context--
The functions new-instance, virtual-operations, and others.colorpoint-class-all-virtual.scmSlide context--
A sample construction and sample dialogue with ColorPoint.color-point-dialogue-virtualSlide context--
An example using catch and throw.catch-throw-exSlide context--
The function list-length, which returns the symbol 'improper-list in case it encounters an improper list.list-length.scmSlide context--
A tree search function which uses a continuation found if we find what we search for.tree-search.scmSlide context--
A function programmed in both direct style and continuation passing style.cps1.scmSlide context--
Functions w, f, g and h programmed in direct style.cps2-direct.scmSlide context--
The same functions programmed in continuation passing style.cps2-cps.scmSlide context--
The usual recursive factorial function - in direct and continuation passing style.fac-direct-cps.scmSlide context--
The tail recursive factorial function - in direct and continuation passing style.fac-tail-rec-direct-cps.scmSlide context--
The list-length function - continuation passing style - handling improper lists.list-length-cps.scmSlide context--
An iterative list-length function - continuation passing style - handling improper lists.list-length-iter-cps.scmSlide context--
Template for resuming C2 from C1.coroutine-resume-template.scmSlide context--
Producer Consumer - pure functional programming in Scheme.producer-consumer-fp.scmSlide context-Note context
Alternative Producer Consumer - the other coroutine is maintained in mutable state.producer-consumer-non-fp.scmSlide context-Note context
The basic tree functions - together with two concrete trees.trees.scmSlide context--
The tree traversal functions.traversals.scmSlide context-Note context
The controller function.controller.scmSlide context-Note context
Tree stuff, traversal, and controller - in one file.all.scmSlide context--
A few functions - to be trampolined below.trampoline-candidates.scmSlide context--
Augmenting with bounce and return.trampoline-applications.scmSlide context-Note context
Redefining bounce and return.trampoline-applications-return-bounce.scmSlide context-Note context
Introducing a single threaded scheduler: pogo-stick.trampoline-pogo-stick.scmSlide context-Note context
Multithreaded schedulers: seesaw and trampoline.trampoline-other-schedulers.scmSlide context-Note context

Generated: Tuesday August 17, 2021, 12:49:21