Side panel: show the facts inferred from a loop as a Found step, and explain loop-start names

Aperta
#209 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript, vscode
Ambito
devtools

Direzione di ricerca

Start with the side panel's Found steps in the extension, and read the decisions in liquid-java/liquidjava#548 and the explanation of generated names from #195. This depends on liquidjava#554, which must mark inferred loop invariants and their loop line before the new step can be built. Done when an inferred loop fact appears as its own Found step with a clickable loop line, and loop-start names such as total@18#1 are explained like the other generated names.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Part of liquid-java/liquidjava#548 (decisions in its comments) and the loop invariant plan liquid-java/liquidjava#542. Needs liquid-java/liquidjava#554 (the verifier marks which Found facts are inferred loop invariants and their loop's line).

Panel step. In the side panel's Found steps, add a step before the simplification steps that shows the facts inferred from a loop, e.g. "Inferred for the loop at line 10 (holds on every iteration): i >= 0 && i <= 10", with the loop line linked like other line references.

Names. Explain the loop-start names that appear in Found (e.g. total@18#1: the value of total at the start of an iteration of the loop at line 18), the same way the other generated names are explained (#195).

Lingua principale
TypeScript
Stelle
6
Fork
1
Merge medio
14h 6m
PR unite (30g)
32

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di liquid-java/vscode-liquidjava

Tutte le issue di liquid-java/vscode-liquidjava

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.