knowsys / knowsys/nemo

feature: Range builtin

Open
#599 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
289
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The `range` built-in can offer a comfortable way to generate facts.
It should process 3 arguments `min, max, step_size`
For example:
```
A(range(1, 5, 0.5)).
B(range(1, 5, 0.5), range(1, 5, 1)).
```

Contributor guide

Open the contributing guide

Research direction

Start by locating how built-in functions are registered, evaluated, and tested in the repository. Trace the existing built-ins to determine the expected handling of three arguments, then use the issue's range examples as the acceptance cases. Done means range accepts min, max, and step_size and produces the values needed by both example rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.