Skip to content

JSON-RPC bridge for a register map editor UI - #265

Merged
olagrottvik merged 2 commits into
masterfrom
editor-bridge
Oct 30, 2026
Merged

olagrottvik merged 2 commits into
masterfrom
editor-bridge

Conversation

@olagrottvik

@olagrottvik olagrottvik commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #254: the message format the web editor and a later VS Code host share.

  • bust.editing.bridge.EditorBridge answers JSON-RPC 2.0 requests: schema, open, new, apply (JSON Patch), undo, redo.
  • Each state has the data, the text, warnings, where bust places every register and field, and the next free address. A rejected change returns problems with their path and line.
  • python -m bust.editing.bridge serves the same messages over stdio, one per line.
  • EditRejected now carries the schema problems with their paths, and RegisterMapDocument.from_text reads a map from text.

@olagrottvik
olagrottvik merged commit 097ff2d into master Oct 30, 2026
11 checks passed
@olagrottvik
olagrottvik deleted the editor-bridge branch October 30, 2026 14:24
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