Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Some time ago I attempted to implement them for my Scheme and I based my code on a Nconc interpreter is pretty simple and easy to understand. I've failed to implement TCO and call/cc and I'm now trying again. But first I've tried to test if continuations actually work in Nconc, and it turns out that they don't actually work.
Maybe check out BiwaScheme, especially compiler.js and interpreter.js. You can probably use R. Kent Dybvig, Three Implementation Models for Scheme as a guide to the code as well as another implementation to study since I think BiwaScheme is based on that paper.
Related posts
- BiwaScheme is a Scheme interpreter written in JavaScript
- My reading workflow (you guys might find some bits from it useful)
- The stepmotherly treatment of Windows platform by Scheme implementors
- LIPS Scheme version 1.0.0-beta.15 is out
- Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration