apache / apache/datafusion-sqlparser-rs

Add line/column information consistently to every parser message.

オープン
#179 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
17

説明

It would be useful to have clear parser errors which have the position (line and column) printed.

Now for some errors there is information of where the error happened:

`Unterminated string literal at Line: {}, Col: {}`

For others, there isn't:

`Unexpected EOF while in a multi-line comment`

I think this would be a "good first issue" to work on, maybe I find some time to work on this soon.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、「Unterminated string literal」や「Unexpected EOF while in a multi-line comment」を含む parser のエラーメッセージを見つけ、行と列の位置情報が現在どのように付加されているかを確認します。残りの parser メッセージを調査し、それらを対象とするテストを特定します。すべての parser メッセージに行と列の情報が一貫して含まれるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
compilers
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。