Support rules without positive atoms
Open
enhancement
Parser
- Dominant language
- Rust
- Stars
- 289
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Currently, rules require at least one positive atom. This means that e.g.
```
HeapAllocation_Type(?heap, ?type) :-
?heap = "<>",
?type = "java.lang.String[]".
```
(see issue #460) are rejected.
Contributor guide
Research direction
The issue names no file or test. Start by locating the rule validation that rejects rules without positive atoms, then trace how the example in the issue is parsed and evaluated. Done means the shown rule is accepted without regressing rules that contain positive atoms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100