aalhour / aalhour/PyCOOLC

Epic 1: Diagnostics & UX (front-end polish)

オープン
#17 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
41
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

## Epic 1: Diagnostics & UX (front-end polish)

### Goal: compiler is pleasant to use, errors are actionable, multiple errors per run.

- [ ] Standardize a diagnostic model: every diagnostic has `(file, line, col, message, severity)`
- [ ] Print source snippet + caret underline (and ideally a range)
- [ ] Ensure *all* errors have column info (not just line)
- [ ] Implement error recovery:
- [ ] Parser sync points (e.g., `;`, `}`, `)` depending on grammar)
- [ ] Continue semantic analysis when safe (collect errors, avoid noisy cascades)
- [ ] Add warnings:
- [ ] unused variables / unused `let` bindings
- [ ] unreachable code after `return`
- [ ] shadowed bindings
- [ ] Add `--warnings-as-errors` and `--no-warn` flags
- [ ] Add `--verbose` flag (show which phase is running, file being processed)

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

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

評価

この issue はまだ評価されていません。

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

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