QuTech-Delft / QuTech-Delft/libqasm
[Frontend] Parsing and analyzing the same file with a syntactic error can return different messages
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 23
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
For instance, mistyping version as vrsion returns:
- for parsing:
:1:1: mismatched input 'vrsion' expecting {NEW_LINE, ';', 'version'}, and - for analyzing:
Error: :1:1: syntax error.
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
Reproduce the reported vrsion input through both the parsing and analyzing paths, then inspect where their syntax diagnostics are produced. Done means the same syntactic error yields consistent messages in both paths, with regression coverage for this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100