A parser that follows another parser and computes location information
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Haskell
- スター
- 926
- フォーク
- 71
- 平均マージ
- 6時間 49分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
composewell/streamly のほかの issue
-
takeInterval yields nothing, dropInterval drops nothing対応中かも @GuillaumedeVolpiano が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an element対応中かも @GuillaumedeVolpiano が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
composewell/streamly#3270 ·
-
aspect:api
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
composewell/streamly#3206 ·
-
api:breaking aspect:api aspect:filesystem
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
composewell/streamly#3203 ·
-
type:performance
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
composewell/streamly#3200 · コメント 2 件 ·
composewell/streamly の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
alunduil/siren-json.hs#322 ·
メンテナーはふだん 1 日以内に返信
-
Dead link in readmeオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
commercialhaskell/rio#287 ·
-
wide-word-0.2オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
commercialhaskell/stackage#8181 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug desktop
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
simplex-chat/simplex-chat#8291 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: C# programs with top-level statements fail to compile対応中かも @AsyncNigam が 1 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
compiler-explorer/compiler-explorer#9625 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信