Outputs linked to the code

Outputs are panes you place anywhere; hover one and the code it came from lights up.

Framework decisions behind it: D39, D40, D52, D53.

A playground's outputs are not locked into its box. This page puts the editor on the left and the outputs where it likes: a verdict above the editor, the proof in a column that stays in view, and a drawing in a dialog. They are all one playground, and they point at each other.

Try it

  1. Press Run in the Verdict pane above the editor.
  2. Press Run in the Proof pane. Its steps appear in the column on the right.
  3. Hover a step of the proof. The part of the sequent it is about is marked in the editor.
  4. Hover the sequent in the editor. The steps that mention that place are marked in the proof.
  5. Use the buttons below to mark a place from the page.
a -> b, b -> c |- a -> c
Mark a place in the code

Change the sequent, for example to a |- b, and run both panes again: the verdict changes, and the drawing in the dialog follows the code without a run.