Skip to main content

Language Server for SystemRDL 2.0 — diagnostics, hover, outline (powered by systemrdl-compiler)

Project description

systemrdl-lsp

Language Server Protocol implementation for SystemRDL 2.0 — backed by systemrdl-compiler.

Status: v0.1 walking skeleton. Only textDocument/publishDiagnostics is implemented. Hover, document symbols, goto definition, completion, and the custom rdl/elaboratedTree push come in Week 2-5. See ../../docs/ROADMAP.md.

Install

pip install systemrdl-lsp

Or with uv:

uv pip install systemrdl-lsp

Use

The server speaks LSP over stdio. Editor integrations call:

systemrdl-lsp

For VSCode users, install the vscode-systemrdl-pro extension — it manages the LSP for you.

For Vim/Neovim/Helix/Emacs, configure your client to launch systemrdl-lsp for files matching *.rdl. Example for Neovim with nvim-lspconfig (config name systemrdl_lsp will be added in Week 2):

-- nvim-lspconfig snippet (Week 2 PR)
require'lspconfig'.systemrdl_lsp.setup{}

Configuration

Setting Default What
systemrdl-lsp.includePaths [] List of directories searched by `include (Week 2).

What works in v0.1

  • Detect SystemRDL files (extension .rdl)
  • On open / change: run parse + elaboration via systemrdl-compiler, publish diagnostics with file/line/column from RDLCompileError
  • Stdio LSP framing via pygls

What does NOT work yet

See ../../docs/ROADMAP.md. All of: hover, goto definition, document symbols, completion, the elaborated-tree push, multi-root incl_search_paths, LSP supervisor + restart, and Perl preprocessor support. They are scheduled — none have been forgotten.

License

MIT — see ../../LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

systemrdl_lsp-0.15.0.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

systemrdl_lsp-0.15.0-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file systemrdl_lsp-0.15.0.tar.gz.

File metadata

  • Download URL: systemrdl_lsp-0.15.0.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for systemrdl_lsp-0.15.0.tar.gz
Algorithm Hash digest
SHA256 7189b6cfdfca8a31233a72b9a47f65c94474f50404672ffbe98645b24fd02983
MD5 77e393cffb3d96a12084a59607bc55e5
BLAKE2b-256 9291c214041e8067ce17b4da6b7ad7b34e22891b4339f70e51d170425db8505a

See more details on using hashes here.

Provenance

The following attestation bundles were made for systemrdl_lsp-0.15.0.tar.gz:

Publisher: lsp-publish.yml on seimei-d/systemrdl-pro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file systemrdl_lsp-0.15.0-py3-none-any.whl.

File metadata

  • Download URL: systemrdl_lsp-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for systemrdl_lsp-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29a2bc1d3c299997730d4a6c2a2a8c16cbefc108f6009069fcf8f55a1b13a672
MD5 a9c4546ffb412cb4b73bcfed3a1c1aa1
BLAKE2b-256 9259a347270453c2d7218ea7b9c93a088b05c34734abff4e0c930ecefdd85039

See more details on using hashes here.

Provenance

The following attestation bundles were made for systemrdl_lsp-0.15.0-py3-none-any.whl:

Publisher: lsp-publish.yml on seimei-d/systemrdl-pro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page