Is there a Javascript Scheme interpretter that allows javascript calls from within?

javascript, scheme

Solution

BiwaScheme does what you want.

Problem

I'm trying to create a Scheme interface for a user, for using my client side Javascript stuff. The thing is, I don't want the interpreter to simply work like a scheme interpreter. I just want the ability to provide the users with some trivial primitive functions which are implemented in Javascript. The user basically uses Scheme to use my primitive functions (like say one that writes things using `document.write()` function) in any fancy way like he wants(conditionally, recursively, iteratively , etc.). Is there some way I could do this?

Original source