Epic 1: Diagnostics & UX (front-end polish)
- Ngôn ngữ chính
- Python
- Star
- 41
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.