Skip to content

feat(dev): implement RML dev server - #29

Open
jduchateau wants to merge 40 commits into
mainfrom
rml-dev-server
Open

jduchateau wants to merge 40 commits into
mainfrom
rml-dev-server

Conversation

@jduchateau

Copy link
Copy Markdown
Member

Implements:

  • a RML Dev server based on the LSP Protocol with the additions of custom requests.
  • a VSCode extension
  • a reflexion-based rdf loading mechanism
  • a new generic origin mechanism with AbstractPlanNode
  • static analysis of mappings

This makes some changes to BURP philosophy:

  • Simplicity is not a goal any more but just a guideline
  • Unassuming, to permit static and dynamic analysis of mappings, hypotheses about data are made

@jduchateau
jduchateau requested a review from chrdebru October 15, 2026 11:19
@jduchateau jduchateau self-assigned this Oct 15, 2026
… join evaluation

- Add `rml/setDataContext` RPC on server and simplify client `evalInlayHintsProvider` to always use standard `textDocument/inlayHint`.
- Encapsulate parent scope resolution in `EvaluationContexts.resolveNodeScope` using `PlanNode.ancestor(clazz, true)`.
- Fix `ParentMap` evaluating against child iteration on unmatched joins, omitting dynamic hints when no parent matches.
- Add regression and context-switch tests in `InlineEvaluateTest`.
… diagnostics

- Introduce MappingValidator interface with IMMEDIATE and DEBOUNCED_ASYNC policies
- Refactor RmlValidationService into a modular coordinator managing per-document validator diagnostic caches
- Implement SyntaxAndReportValidator, FunctionExecutionValidator, UnusedElementValidator, OntologyValidator, and ReferenceValidator
- Support LSP push diagnostics lifecycle with debounce scheduling and [revalidating...] tagging
- Add LspDiagnosticsLifecycleTest covering full didOpen, didChange, and debounce behaviors
…tures

- Unify completer_ontology.ttl, conformance_ontology.ttl, and runtime_ontology.ttl into hospital_ontology.ttl
- Update OntologyCompleterTest and OntologyConformanceCheckerTest to use hospital_ontology.ttl
- Add Turtle mappings and CSV datasets for dynamic domain mismatch, term type mismatch, and ill-typed literal scenarios
- Adapt RuntimeOntologyValidatorTest to invoke server.validate() with hospital_ontology.ttl
… standard LSP

- Remove custom client.validate and completionProvider in favor of standard LSP protocol
- Contribute turtle and rml languages in extension manifest to activate LSP on .ttl and .rml
- Remove custom codeLens RPC and register LSP CodeLens provider through language features
- Update VS Code extension integration test suite to assert via standard vscode.languages and commands
…ated statements in function-valued expression maps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant