Parallel alternative parsers

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

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
haskell
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the alternative combinator implementation and the parser code it composes. Compare the proposed sequential and concurrent strategies, including whether to use the second parser only after the first fails or whichever yields first. Done means implementing and validating a chosen strategy, but the issue does not specify which strategy or where to test it.

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

Mô tả

aspect:parsers

In an alternative combinator we can feed the input in parallel to both the parsers until one of the parsers yields a result. We could use different strategies for using the result e.g. (1) compute in parallel but use the second parser only if the first parser fails, (2) use whichever parser yields the result first and discard the other.

The parallel parsing could be done sequentially or concurrently.

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

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 composewell/streamly

Tất cả issue của composewell/streamly

Issue tương tự

Thêm issue về Haskell

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.