[firtool] Offer suggestions for close-but-not-quite-right lowering options
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
Perhaps best addressed by reworking how this works, but regardless it's be nice for our parsing of these options to produce the same sort of "did you mean" Levenshtein distance suggestions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating firtool's parsing of lowering options and the diagnostics produced for unrecognized values. Identify how close matches should be selected and add focused coverage for misspelled options, then verify that the resulting diagnostics provide useful "did you mean" suggestions. Done means close-but-not-quite-right lowering options receive Levenshtein-based suggestions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100