extend your own programming language
summary
Builds on the small MinRuby/WingB interpreter from the book to add concrete extensions: implements tail-call optimization by rewriting AST tail calls and a runtime loop that handles repeated jumps (survives a 5000-iteration recursion test), adds a non-evaluating call form to spawn processes and ship execution contexts between them, and prototypes a Linda-style tuple space / tapspace server for remote eval. Some pieces bootstrap and run; the agent system remains only partly finished.
AI-written summary · about
chapters (7)
- 0:00Introduction and motivation
- 3:38What is mruby
- 8:51Extending mruby in three steps
- 13:51Tail call optimization
- 19:51Process creation in mruby
- 26:15Tap space and custom instructions
- 32:00Summary and Q&A








