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/publishDiagnosticsis implemented. Hover, document symbols, goto definition, completion, and the customrdl/elaboratedTreepush 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 fromRDLCompileError - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7189b6cfdfca8a31233a72b9a47f65c94474f50404672ffbe98645b24fd02983
|
|
| MD5 |
77e393cffb3d96a12084a59607bc55e5
|
|
| BLAKE2b-256 |
9291c214041e8067ce17b4da6b7ad7b34e22891b4339f70e51d170425db8505a
|
Provenance
The following attestation bundles were made for systemrdl_lsp-0.15.0.tar.gz:
Publisher:
lsp-publish.yml on seimei-d/systemrdl-pro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
systemrdl_lsp-0.15.0.tar.gz -
Subject digest:
7189b6cfdfca8a31233a72b9a47f65c94474f50404672ffbe98645b24fd02983 - Sigstore transparency entry: 1421515484
- Sigstore integration time:
-
Permalink:
seimei-d/systemrdl-pro@df9fb1a51e020e61be361ad2d777e241a4da9255 -
Branch / Tag:
refs/tags/lsp-v0.15.0 - Owner: https://github.com/seimei-d
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
lsp-publish.yml@df9fb1a51e020e61be361ad2d777e241a4da9255 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29a2bc1d3c299997730d4a6c2a2a8c16cbefc108f6009069fcf8f55a1b13a672
|
|
| MD5 |
a9c4546ffb412cb4b73bcfed3a1c1aa1
|
|
| BLAKE2b-256 |
9259a347270453c2d7218ea7b9c93a088b05c34734abff4e0c930ecefdd85039
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
systemrdl_lsp-0.15.0-py3-none-any.whl -
Subject digest:
29a2bc1d3c299997730d4a6c2a2a8c16cbefc108f6009069fcf8f55a1b13a672 - Sigstore transparency entry: 1421515697
- Sigstore integration time:
-
Permalink:
seimei-d/systemrdl-pro@df9fb1a51e020e61be361ad2d777e241a4da9255 -
Branch / Tag:
refs/tags/lsp-v0.15.0 - Owner: https://github.com/seimei-d
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
lsp-publish.yml@df9fb1a51e020e61be361ad2d777e241a4da9255 -
Trigger Event:
push
-
Statement type: