ok
ok copied to clipboard
integration in the browser a la fengari
It'd be brilliant to have browser integration like fengari. Have you considered it? I might have a crack at it myself. http://fengari.io
I think this would be difficult. oK's tree-walker interpreter would need to be deeply rewritten to avoid blocking the main JS thread and achieve fengari-like coroutine support. Better JS interop is possible; I haven't explored it much in the past because oK is already quite slow and a DOM interaction API which allowed a programmer to take advantage of the vector-oriented nature of the language seemed like a challenging design problem.
You're welcome to have a go, of course.