`for` grammar: support `else` statement
Metadata
Current evaluation
Closed without implementation. No resolution or merge details were provided. The enhancement to add an else statement to the for grammar appears abandoned after initial triage and Jira synchronization.
Suggested action: —
No scores available.
Issue body
We should support a simple `else` statement in the `for` grammar.
Known limitation: That `else` statement is not further parsed as grammar for now.
Example usage:
```yaml
build-packages:
- for raspi:
- gcc-aarch64-linux-gnu
- else:
- gcc-x86-64-linux-gnu
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. No resolution or merge details were provided. The enhancement to add an else statement to the for grammar appears abandoned after initial triage and Jira synchronization. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The enhancement to support else in the for grammar was abandoned and appears deferred to Jira tracking. No code changes or merges were made. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The for grammar else statement enhancement was triaged and synced to Jira, but received no pull requests or fixes. The feature request appears abandoned or deferred. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Requested else statement support for the for grammar was closed without implementation. No pull requests or code changes were submitted, indicating the enhancement was abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #125 `for` grammar: support `else on` and `else for` | craft-grammar | open | Enhancement to support `else on` and `else for` statements in the `for` grammar, extending the existing `else` clause. Triaged by maintainer and tracked in Jira (CRAFT-4744); not yet implemented in the processor. | |
| #137 feat(for-grammar): add an 'else' clause | craft-grammar | merged | Merged. Adds an else clause to the for grammar, matching to grammar behavior without recursive processing. Approved by two reviewers, passed CI checks, and resolves #134 and CRAFT-4768. |