Show HN: Kent Dybvig's Scheme Machine in 400 Lines of C (Heap-Memory Model)
12 hours ago
- #Virtual Machine
- #Scheme
- #Heap-based
- Heap-based virtual machine implementation for Scheme as described in 'Three Implementation Models for Scheme' by Dybvig.
- Includes lexer, parser, and virtual machine components.
- Supports basic Scheme operations like 'quote', 'lambda', 'if', 'set!', and 'call/cc'.
- Uses a REPL (Read-Eval-Print Loop) interface for interactive execution.
- Implements environment handling, closures, continuations, and stack operations.