emojicode / emojicode

😀😜🔂 World’s only programming language that’s bursting with emojis

Home Page:https://emojicode.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emojicode Language Server

joeskeen opened this issue · comments

⭐️ Proposed change

Implement a language server using Language Server Protocol (LSP) for Emojicode, allowing for development tooling while writing and maintaining source code.

This could start simple, highlighting compilation errors, and over time add more features, such as go to definition, find all references, formatting code, etc.

🤔 Rationale

Development tooling would help attract and retain more programmers to Emojicode.

Adding features like auto complete, go to definition, or documentation on hover for a programming language takes significant effort. Traditionally this work had to be repeated for each development tool, as each tool provides different APIs for implementing the same feature.

A Language Server is meant to provide the language-specific smarts and communicate with development tools over a protocol that enables inter-process communication.

The idea behind the Language Server Protocol (LSP) is to standardize the protocol for how such servers and development tools communicate. This way, a single Language Server can be re-used in multiple development tools, which in turn can support multiple languages with minimal effort.

LSP is a win for both language providers and tooling vendors!

https://microsoft.github.io/language-server-protocol/

🕺 Example

A guide to writing a LSP server for plain text files can be found here: https://code.visualstudio.com/api/language-extensions/language-server-extension-guide

That would be awesome! I hope this eventually comes, as it is really hard to code these days without an IDE and syntax highlighting, go to, etc, especially in emojicode, which is unlike any other language.

I just today looked in the Visual Studio Code marketplace and found this extension: https://github.com/cjdenio/vscode-emojicode

This fulfills my needs!