Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration in the browser a la fengari #101

Open
effbiae opened this issue Feb 20, 2022 · 1 comment
Open

integration in the browser a la fengari #101

effbiae opened this issue Feb 20, 2022 · 1 comment

Comments

@effbiae
Copy link

effbiae commented Feb 20, 2022

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

@JohnEarnest
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants