kavon / sml-language-server

an SML language server that uses SML/NJ's "visible compiler" feature
25 stars 2 forks source link

Is this one working and how can I use it with vscode/vim? #2

Open Huxpro opened 6 years ago

Huxpro commented 6 years ago

Hi, I was finding SML editor tools for vscode/vim that is comparable to Emacs SML-mode. I was wondering what's the status of this project and how can I help (if any)?

kavon commented 6 years ago

Unfortunately this is not quite working yet.

I'd greatly appreciate any help you can provide. The major components of this project are:

  1. Communication / event dispatching according to the LSP specification.
  2. Maintaining correct program state by compiling / recompiling code (up until type checking only) as needed.
  3. Querying program state by utilizing data structures that result from running SML/NJ's front-end until it gets past type checking.

There are bits and pieces of this scattered around the code right now, but I haven't had a chance to get back to this yet. I believe some use of Concurrent ML features in SML/NJ might help us out here.