CakeML / CakeML/cakeml

Candle parser doesn't deal with pairs and if-then-else the right way

Open
#1,019 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.