Candle parser doesn't deal with pairs and if-then-else the right way
Open
- Dominant language
- Standard ML
- Stars
- 1.2k
- Forks
- 104
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 16
Description
The Candle parser rejects this:
```ocaml
(a, if b then c else d)
```
but it accepts this:
```ocaml
(a, (if b then c else d))
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Candle parser entry point and the expression parsing logic for pairs and if-then-else expressions. Reproduce the two examples from the issue, then verify that the unparenthesized form is accepted while the parenthesized form continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100