Skip to content
Weaverv0.5.0

Editor and assistants

wv lsp is Weaver’s Language Server Protocol server, for any editor that speaks it. It gives the compiler’s errors as you type, hover, completion, go to definition, all the way into the standard library, references and renaming, the formatting of wv fmt, and as inlay hints the inferred types and what each line costs: heap if it allocates, copy if it copies, rc n for reference counting.

The extension lives in the repository, under editors/vscode. It colors .wft files and the weaver blocks of Markdown, and connects wv lsp to the editor. Build its package there, then install it:

Terminal window
python3 pack.py
Terminal window
code --install-extension weaver-0.2.0.vsix

It finds wv in the PATH; the weaver.server.path setting names another one.

Terminal window
wv skill

installs Weaver’s skill into the project’s .claude/skills/weaver: a guide to the language, the command and the pitfalls, with the specification, the grammar and the docs of the standard library of the compiler that installs it. Running it again updates it.

The tour of Weaver teaches the language, one small program at a time.