1 unstable release
0.1.0 | Nov 30, 2024 |
---|
#312 in WebAssembly
170 downloads per month
570KB
17K
SLoC
The language service of WebAssembly Language Tools. This is the core functionality behind the language server.
The language service do 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
~7MB
~106K SLoC