7 unstable releases (3 breaking)
new 0.4.1 | Apr 13, 2025 |
---|---|
0.4.0 | Mar 30, 2025 |
0.3.2 | Feb 7, 2025 |
0.2.0 | Jan 5, 2025 |
0.1.0 | Nov 30, 2024 |
#514 in Text editors
259 downloads per month
Used in wat_server
1MB
25K
SLoC
The language service of WebAssembly Language Tools. This is the core functionality behind the language server.
The language service does nothing about IO, which means it doesn't read source files. Actually, it doesn't even require the source code to be a file on disk.
Besides, the language service doesn't communicate with language clients and
process Language Server Protocol messages (by JSON-RPC).
When using the language service,
you need to handle JSON-RPC communication and server loop by yourself,
and call corresponding methods of the language service when receiving requests
then send responses back to the client.
You're free to use lsp-server
or tower-lsp
with the language service, or do it completely by yourself as you like.
Dependencies
~8.5MB
~145K SLoC