rescript-lang / rescript-lang/tree-sitter-rescript
Showing `Error` while parisng
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
The npm run parse filename is throwing error and not parsing the complete code.
Below is sample output
(array [90, 12] - [90, 14]))))))
(ERROR [91, 12] - [1861, 70]))))))))
(expression_statement [1862, 12] - [1862, 88]
It skipped the major code.
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 reproducing the issue with npm run parse filename and compare the output around the reported ERROR range. Trace why the parser skips the major code section, then verify that the complete sample code parses without an ERROR node.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100