I created a minimalist scheme framework for creating web apps in scheme using the BiwaScheme interpreter called forward.scm. Basically, it boils down to the %create-app procedure.
It's similar in principle to redux, it use a virtualdom library called snabbdom (similar in principle to reactjs) and prolly similar in principle to ClojureScript's om (even though I don't have om experience yet).
To make a port to RacketScript (RS) possible I need to know two things:
- How to call javascript from RS and vice-versa
- Right now, the framework works with the assumption that XHR calls are not callback based, they are not synchronous tho. This is made possible thanks to BiwaScheme's magic
http-request which AFAIU use somekind of call/cc. Now I now RS doesn't implement call/cc (why?). I successfully ported forward.scm to use the new async/await from ES2017. My question is: does RS plan to support somekind of call/cc similar to biwascheme? Does it support async/await?
Thanks!
I created a minimalist scheme framework for creating web apps in scheme using the BiwaScheme interpreter called forward.scm. Basically, it boils down to the
%create-appprocedure.It's similar in principle to redux, it use a virtualdom library called snabbdom (similar in principle to reactjs) and prolly similar in principle to ClojureScript's om (even though I don't have om experience yet).
To make a port to RacketScript (RS) possible I need to know two things:
http-requestwhich AFAIU use somekind ofcall/cc. Now I now RS doesn't implement call/cc (why?). I successfully ported forward.scm to use the newasync/awaitfrom ES2017. My question is: does RS plan to support somekind ofcall/ccsimilar to biwascheme? Does it supportasync/await?Thanks!