3 ms·
Does skip target js just through emscripten? Does it have good support for browser interaction?
by X6S1x6Okd1st 8y ago
Does skip target js just through emscripten? Does it have good support for browser interaction?
- vjeux 8y agoWe have js printed at the "OuterIST" phase right now. It's the phase just before we sent to the native backend which will generate llvm. You can go to the playground ( http://skiplang.com/playground/ http://skiplang.com/playground/ ) and click "JavaScript" to see the output. We talked about doing it at an earlier phase in order to output JavaScript closer to what the input code was, in a very similar fashion as BuckleScript does. But we never gotten around to as we focused on the native backend. We also have a prototype of a wasm backend using emscriptem. Right now none of them are really usable as is but there's a lot of potential there.