Repository navigation
feat: @puruslang/lsp and @puruslang/mcp - #92
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #20 and #21 as first versions (written from scratch; no code from the third-party purus-lsp / purus-mcp).
@puruslang/lsp (
puruslang-lsp, stdio): diagnostics = linter rules + compilercheckerrors (line:colfrom #76), keyword anduse p-*completion, keyword hover, document formatting via the Prettier plugin, debounced validation. 7 tests of the pure parts; the built server answersinitializeover stdio.@puruslang/mcp (
puruslang-mcp, stdio, official SDK): toolscompile,check,lint,format,runand resourcepurus://stdlib.runis disabled unlessPURUS_MCP_ALLOW_RUN=1(child process, 5 s timeout, 64 KB cap, not sandboxed, documented). 5 tests through the SDK's in-memory client/server; the built server answersinitializeover stdio.Both depend on the workspace packages (
workspace:*); rootbuildnow builds the packages andtest:packagesruns them sequentially (parallel vitest runs collide on the shared cache dir on Windows). Versions stay0.0.0-reserved; the first real release isrelease-lsp.yml/release-mcp.ymlwith0.1.0.Not yet: go to definition/references/rename/semantic tokens (#20), source positions in compiler diagnostics for ranges (#30), in-process compile (#32), conformance tests (#35).