larsbrinkhoff / forth-mode

Wants to be the SLIME of Forth
GNU General Public License v3.0
61 stars 17 forks source link

Language Server Protocol #90

Open ellerh opened 1 year ago

ellerh commented 1 year ago

As an experiment, I wrote a LSP server for Forth.

The server does very little: it scans the files and buffers in a project for definitions and records them so that M-. can find them.

It took quite a bit of code (and time) to get it this far. Are you interested to make this a part of forth-mode or would you prefer that I keep this as a separate project?

On the client side, I used eglot. So there is very little new elisp code.

larsbrinkhoff commented 1 year ago

Thank you, this seems interesting. I don't have time now, but I will take a look soon.

Regarding separation, if it's potentially useful elsewhere I think a separate repository might make sense.