Questions regarding Language Server Protocol implementation for Elixir

29 views
Skip to first unread message

Said Atrahouch

unread,
Mar 27, 2017, 6:14:51 AM3/27/17
to BEAM Community
Hi,

I'm Said, a student at the Rey Juan Carlos. I would love to implement it but I have a few questions:

- Which version should be implemented?. I think the version 3.0 is what would be implemented, and not version 2, but I don't know if the clients are compatible with version 3.0. 
- Related to macros. Should be possible to show step by step a macro expansion? Something like mex.
- In the first version, the goal is to implement a server that can recognize Elixir and Erlang modules, and let for next versions libraries and frameworks, like Ecto, Phoenix. 
- I think a good idea talk with the author of alchemist-server. Because the goal of both project is the same, the difference is this project a using a standard API while alchemist-server is building a own API. There is a client implementation, for alchemist-server, written for Atom. 

Thank you, Said.

Michał Muskała

unread,
Mar 28, 2017, 2:45:24 AM3/28/17
to BEAM Community, Said Atrahouch
Hello Said,

Responding to the questions:
1. I'm convinced we should aim for the newest version. It was released 3 months ago, and if editor support is not there yet, it should definitely arrive by the time the project is done. 
2. It's an interesting feature - I don't think it's a basic requirement, but definitely a "nice to have".
3. The first goal should be with regular elixir code. That said, while ecto or phoenix contain their fair share of macros, they are "just" regular elixir applications, so there shouldn't be that much to do to support them. 
4. Yes, we can definitely reuse some parts of alchemist-server. I already talked with tonini - the author of alchemist-server and we was very supportive of this project.

Regards,
Michał.

Said Atrahouch

unread,
Mar 28, 2017, 5:47:28 AM3/28/17
to BEAM Community, said.at...@gmail.com
Thanks Michal for the answers. With this answers i'm going to finish the draft proposal and if I have a question, i will ask again.
Reply all
Reply to author
Forward
0 new messages