Show HN: CommonJS Based OCaml Development(github.com)
github.com
Show HN: CommonJS Based OCaml Development
https://github.com/jordwalke/CommonML
1 comments
Do you mean making Merlin works in a Js_of_ocaml environment?
I am not familiar with JS programming model, but I think it should be possible to turn Merlin into a worker and have synchronous loading of "cmi" files via some service (I don't want to do control inversion on the whole typechecker :)).
I am not familiar with JS programming model, but I think it should be possible to turn Merlin into a worker and have synchronous loading of "cmi" files via some service (I don't want to do control inversion on the whole typechecker :)).
Looks like a great way to get sandboxing!
https://github.com/avsm/opam-boot (still unannounced and being debugging, but essentially working)
I'm liking the Merlin integration in CommonJS as well -- perhaps specialising it for js_of_ocaml applications would be one way to deploy it.