A parser that follows another parser and computes location information
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by reading the parser design in #591, which this issue references. The issue proposes feeding discarded input from the parser driver to a separate position parser, but does not identify implementation files or tests. Done means the modular position parser can compute error locations such as byte position or line number.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem to be solved is the parse error position reporting in a modular way. To do that we can use a separate parser which computes the current position from the stream. This position could be byte position, line number or any other way of indicating the position. The position parser would accept the input that has already been consumed and discarded by the main parser. Therefore, the parser driver just needs to feed it the input that is being discarded from the backtrack buffer. Anything that is still in the backtrack buffer does not need to be given to this parser as it can be accounted at the time of error.
See #591
- Ngôn ngữ chính
- Haskell
- Star
- 926
- Fork
- 71
- Merge trung bình
- 6 giờ 49 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của composewell/streamly
-
takeInterval yields nothing, dropInterval drops nothingCó thể đã có người làm @GuillaumedeVolpiano đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an elementCó thể đã có người làm @GuillaumedeVolpiano đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
composewell/streamly#3270 ·
-
aspect:api
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
composewell/streamly#3206 ·
-
Rooted, unrooted path semanticsĐang mởapi:breaking aspect:api aspect:filesystem
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
composewell/streamly#3203 ·
-
type:performance
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
composewell/streamly#3200 · 2 bình luận ·
Tất cả issue của composewell/streamly
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
alunduil/siren-json.hs#322 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dead link in readmeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
commercialhaskell/rio#287 ·
-
wide-word-0.2Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
commercialhaskell/stackage#8181 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug desktop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
simplex-chat/simplex-chat#8291 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: C# programs with top-level statements fail to compileCó thể đã có người làm @AsyncNigam đã nhận 1 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
compiler-explorer/compiler-explorer#9625 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày