INRIA / INRIA/spoon

`VisitorPartialEvaluator` should simplify calculations with 1 or 0 like `A + 0 = A`

Open
#5,298 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

Here are some that are not implemented yet:
- `A + 0` = `A`
- `A - 0` = `A`
- `A * 0` = `0`
- `A * 1` = `A`
- `A / 1` = `A`
- `A % 1` = `0`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.