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

Offen
#209 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
28/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript, vscode
Bereich
devtools

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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).

Vorherrschende Sprache
TypeScript
Sterne
6
Forks
1
Ø Merge
14 Std. 6 Min.
Gemergte PRs (30 T.)
32

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus liquid-java/vscode-liquidjava

Alle Issues in liquid-java/vscode-liquidjava

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.