Hi all,
After a number of failed attempts, I managed to make a working demo:
Please visit: http://coolwanglu.github.io/vim.js/web/vim.html
It's a JS port of vim (instead of a re-implementation), built with
--with-features=tiny, I'll try to enable more features in the future.
If you
Hi all,
I'm now trying to port vim into javascript with emscripten.
The main barrier I found is that the async model of JavaScript. JavaScript
is event-driven, and there is no mechanism to sleep and wait for events to be
processed, so the following won't work:
```
void wait_for_input()