User loginNavigation |
The 90 Minute Scheme to C compiler90 minute video presentation from Marc Feeley, along with accompanying PowerPoint slides and source code, for a Scheme to C compiler. Good discussion of continuations and closures, as well as some dipping into the area of compiler construction.
The emphasis is on the 4 major problem areas that crop up in an attempt to convert Scheme to C:
The solution presented gives a series of source-to-source transformations. Stage 1 of the compiler expands the 'let' forms in the Scheme code. Stage 2 converts continuations to CPS. Stage 3 converts the code to closures using encapsulated closure objects. Stage 4 is not presented but touches on how the results would lend itself to a GC implementation. |
Browse archivesActive forum topics |
Recent comments
2 hours 22 min ago
2 hours 28 min ago
8 hours 42 min ago
16 hours 35 min ago
17 hours 5 sec ago
22 hours 44 min ago
1 day 3 hours ago
1 day 17 hours ago
1 day 23 hours ago
1 day 23 hours ago