5 unstable releases

0.3.2 Feb 7, 2025
0.3.1 Feb 6, 2025
0.3.0 Feb 5, 2025
0.2.0 Jan 5, 2025
0.1.0 Nov 30, 2024

#490 in WebAssembly

Download history 123/week @ 2024-11-27 37/week @ 2024-12-04 10/week @ 2024-12-11 137/week @ 2025-01-01 23/week @ 2025-01-08 411/week @ 2025-02-05

414 downloads per month
Used in wat_server

MIT license

665KB
19K 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
~150K SLoC