ok icon indicating copy to clipboard operation
ok copied to clipboard

integration in the browser a la fengari

Open effbiae opened this issue 3 years ago • 1 comments

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

effbiae avatar Feb 20 '22 10:02 effbiae

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.

JohnEarnest avatar Feb 20 '22 15:02 JohnEarnest