ternlang-lsp-1.0.0 is not a library.
ternlang-lsp
LSP 3.17 language server for Ternlang. Provides hover docs, code completion, and live parse diagnostics for .tern files in any LSP-capable editor.
Transport
JSON-RPC 2.0 over stdio — the standard MCP/LSP pattern.
Features
- Hover — trit type info and keyword documentation on cursor
- Diagnostics — parse errors highlighted in real time as you type
- Completion — ternlang keywords, trit literals, and stdlib identifiers
- Go-to-definition — jump to function and variable declarations
Editor setup
VS Code — install the Ternlang extension (see ternlang-root/integrations/vscode/), which auto-configures the server.
Neovim / other — point your LSP client at ternlang-lsp:
require..
Install
License
LGPL-3.0-or-later. See LICENSE.