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

Đang mở
#209 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript, vscode
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
6
Fork
1
Merge trung bình
14 giờ 6 phút
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của liquid-java/vscode-liquidjava

Tất cả issue của liquid-java/vscode-liquidjava

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.