Implement support for ranges in neighbourhood-definitions
- Dominant language
- Kotlin
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Rather than specifying:
```
neighbourhood foobar {
(-2, 2), (-1, 1), (0, 2), (1, 2), (2, 2),
(-2, 1), (-1, 1), (0, 1), (1, 1), (2, 1),
(-2, 0), (-1, 0), (1, 0), (2, 0),
(-2,-1), (-1,-1), (0,-1), (1,-1), (2,-1),
(-2,-2), (-1,-2), (0,-2), (1,-2), (2,-2)
}
```
The following should be possible:
```
neighbourhood foobar {
(-2, 2) -> (2,-2)
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names neighbourhood-definitions but no files or tests. Start by locating the parser or entry point for neighbourhood definitions and compare how coordinate lists are handled. Confirm the intended expansion of the shown arrow form and add coverage demonstrating the equivalent coordinates; done when the range syntax is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100