Skip to content

Conversation

@lou1306
Copy link
Contributor

@lou1306 lou1306 commented Sep 30, 2025

This is an initial prototype that integrates the recipe interpreter/simulator into VSCode.

At the moment it still lacks a few features that the old interpreter had, most notably:

  • Enforcing constraints on the initial/next state
  • Loading counterexamples from the model checker
  • Graphviz drawings of the agents
  • "Differential" traces, i.e., showing only the variables that changed since previous state.

Nevertheless this seems like a good moment to push something back to the master branch. The new dependencies on ejs and vscode-elements should also be used in other parts of the extension that deal with webvies (e.g., the model checker report).

lou1306 added 21 commits May 27, 2025 17:06
Extremely rough draft, but it does a thing or two. Namely it can
initialize a simulator and move back and forth. Currently all output
happens in the text channel and there is no way to choose a transition.
But it will be mostly a matter of replicating the React app from recipe
* Move HTML to own (template) file
* Transition selection PoC (still not functional)
* Basic visualization of traces
* Fix Next/Back button behaviour
* Fix issues caused by merge
* Update vscode-elements dependency
* Better rendering of steps/transitions
* Fix a bug with the size of cells in the trace table
* Disable transition selector and "Next" button on deadlock states
* Make trace table scrollable
* On Next, automatically scroll table to last step in the trace
@lou1306 lou1306 merged commit bf1fb3d into master Sep 30, 2025
1 check passed
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.

2 participants