NetLogo / NetLogo/Table-Extension

Allow arithmetic operations on tables (`+`, `-`, `*` and `/`)

Open
#16 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

It would be very useful to be able to use arithmetic operations (+, -, * and / and potentially more) directly on tables.

let fruit table:make
table:put fruit "apple" 2
table:put fruit "orange" 5
table:put fruit "banana" 3

So set fruit fruit + 1 would be allowed for example , which increases all the values in the table by one.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the table extension's operator handling and existing table tests, then review how table values are represented and updated. Done means the requested arithmetic expressions work on tables as described, with behavior for the supported operators covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.