nushell / nushell/new-nu-parser
Add better error for unmatched delimiter
Open
Nobody has claimed this yet.
errors
- Dominant language
- Rust
- Stars
- 34
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently, lexing a source code with unmatched delimiters, such as "unmatched, results in an extremely unhelpful error. Using the callback feature of Logos it should be possible to craft something more helpful.
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 the lexer and its use of Logos callbacks, then reproduce the unmatched-delimiter case described in the issue, such as "unmatched. Compare the current error with the related issue and finish when lexing reports a more helpful unmatched-delimiter error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100