I am trying to create a Scheme interface for a user using Javascript. The thing is, I donβt want the interpreter to just work as a schema interpreter.
I just want to provide users with some trivial primitive functions that are implemented in Javascript.
The user mainly uses Scheme to use my primitive functions (for example, the one that writes things using the document.write() function) in any convenient way as he wants (conditionally, recursively, iteratively, etc.).
Is there any way to do this?
source share