On Feb 26, 2020, at 5:27 AM, Lassi Kortela lassi@lassi.io wrote:
In the interest of learning more about the fundamentals of Scheme and interpreters, is there a simple, pedagogical implementation of the paper "Using closures for code generation" (Feeley/Lapalme 1987) available somewhere? IIRC the Gambit and Chicken interpreters use the technique but those would probably be a bit daunting for a first study since they also do so many other things.
In related news, for anyone who enjoys learning about programming language fundamentals there's a new GitHub repo "A Bestiary of Single-File Implementations of Programming Languages" (https://github.com/marcpaq/b1fipl) which catalogues small interpreters. I've had a great time browsing it.
Sure. Here is a modern use of this idea for a subset of Scheme.
Marc