Editor and assistants
The language server
Section titled “The language server”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.
VS Code
Section titled “VS Code”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:
python3 pack.pycode --install-extension weaver-0.2.0.vsixIt finds wv in the PATH; the weaver.server.path setting names another
one.
Claude Code
Section titled “Claude Code”wv skillinstalls 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.