bryphe/merlin-language-server

Why this require NPM?

Pitometsu opened this issue · 4 comments

I want to use it with emacs-lsp.
JS and NPM looks unnecessary.
Can it be installed via opam only?

You do not need either JS or NPM, per se, and the only reason why you see (the familiar to nodejs environment) package.json in this repo is due to esy (used here as a package manager / development workflow for native Reason /OCaml) using the same format as npm.

That being said, I think that it should be mostly possible to install it via opam, except for perhaps few packages, i.e: refmterr & rench to be specific.

npm install -g esy

Srly? Is esy written in js?
Or it's just a convenient (one of) way to install it?

That being said, I think that it should be mostly possible to install it via opam, except for perhaps few packages, i.e: refmterr & rench to be specific.

It would be very convenient to get it from https://opam.ocaml.org/packages/

No, esy is not written in js, but rather reason, and then compiled down to js; and yes, it is for convenience, and to appeal to js developers working with react; who are looking to switch to reason-react.

Thank you for support.