npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@semanticintent/recall-lsp

v0.1.0

Published

RECALL Language Server — LSP server for .rcl files

Readme

@semanticintent/recall-lsp

RECALL Language Server — LSP server for .rcl files.

Provides diagnostics, autocomplete, hover, go-to-definition, and rename for the RECALL language. Used by the RECALL VS Code extension and any LSP-capable editor.


Features

| Feature | Description | |---|---| | Diagnostics | All 33 RCL error and warning codes surfaced inline as you type — no compile step required | | Autocomplete | Element names, PIC types, clause keywords, DATA DIVISION field references — context-aware | | Hover | PIC type, VALUE, and COMMENT clause for any field reference; element descriptions | | Go-to-definition | F12 from a PROCEDURE DIVISION field reference jumps to its DATA DIVISION declaration | | Rename | Rename a DATA field — all references update simultaneously |

The server calls compileFromSource() on every document change. Because Copilot and Cursor both consume LSP data, RECALL fields, types, and diagnostics are visible to AI coding assistants — not just to humans.


Install

npm install @semanticintent/recall-lsp

The server entry point is dist/server.js. It communicates over stdio or IPC — the transport is determined by the client.


Usage with the VS Code extension

The recall-vscode extension manages the server automatically. Install the extension and the LSP activates on any .rcl file.


Usage with other editors

Any LSP-capable editor can connect to this server. Point your client at node /path/to/node_modules/@semanticintent/recall-lsp/dist/server.js --stdio.

Neovim (nvim-lspconfig):

local lspconfig = require('lspconfig')
local configs   = require('lspconfig.configs')

if not configs.recall then
  configs.recall = {
    default_config = {
      cmd        = { 'node', vim.fn.stdpath('data') .. '/recall-lsp/dist/server.js', '--stdio' },
      filetypes  = { 'rcl' },
      root_dir   = lspconfig.util.root_pattern('package.json', '.git'),
      settings   = {},
    },
  }
end

lspconfig.recall.setup {}

Diagnostic coverage

All 33 RCL diagnostic codes map directly to LSP DiagnosticSeverity:

'error'   → DiagnosticSeverity.Error
'warning' → DiagnosticSeverity.Warning

Codes RCL-W01RCL-W11 are warnings. Everything else is an error. Run recall explain --list from the compiler CLI for the full code reference.


Architecture

recall-lsp/src/
├── server.ts       LSP entry point — stdio/IPC transport, capability registration
├── documents.ts    TextDocuments store + parse cache (warm AST for providers)
├── diagnostics.ts  compileFromSource() → LSP Diagnostic[] on every change
├── completion.ts   Context-aware completions: elements, PIC types, field refs
├── hover.ts        Hover info for field names and element names
├── definition.ts   Go-to-definition via DataField.loc from the parser AST
└── rename.ts       Whole-word rename across the document

The compiler's parse() function produces location-annotated AST nodes (NodeLocation with line, col, length). The LSP providers read directly from the cached AST — no re-parsing for hover, definition, or rename.

Full reparse on every change is acceptable for v1 — the RECALL compiler targets < 50ms on large files. Incremental AST will be introduced if profiling shows reparse latency is a problem.


Dependencies

| Package | Role | |---|---| | @semanticintent/recall-compiler | Parser, type-checker, compileFromSource() | | vscode-languageserver | LSP protocol implementation | | vscode-languageserver-textdocument | Document management |


Contributing

git clone https://github.com/semanticintent/recall-lsp
cd recall-lsp
npm install
npm run build

The server has no test suite of its own — provider logic is thin wrappers around the compiler's tested AST. Integration testing is done via the VS Code extension's test harness.


License

MIT © semanticintent