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.
I'm not sure if I understand. Recursion works but it consumes the JavaScript engine stack. But TCO is first on my TODO list, I've attempted to implement it with Continuations based on Nconc, but after playing with a few examples I've found that in fact its not full implementation of call/cc. But found classic jsScheme that in fact implement fully working TCO and call/cc. I will use it as inspiration. I will not release version 1.0 without TCO and call/cc.
Just a note that even BiwaScheme doesn't fully implement call/cc, it doesn't save the whole environment when capturing.
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
- Example implementation of continuations and TCO in Scheme or lisp
- Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration