Northeastern-Electric-Racing / Northeastern-Electric-Racing/Calypso
Allow for cascaded formatters or formatters taking multiple args
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 2
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 3
Description
A common usecase is offsetting a variable and multiplying it. (see imd.json HV system) This cannot be done right now as offset and multiply are mutually exclusive and we cannot make an "offset_and_multiply" because we would need to pass two arguments.
Therefore two possible solutions:
- Allow for multiple formatters, be aware of pemdas! Then you can add an offset and a multiply
- Allow for the formatter to take in multiple arguments.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the formatter handling and reviewing the imd.json HV system use case described in the issue. Compare support for cascaded formatters with support for formatters taking multiple arguments, including PEMDAS ordering. Done means the chosen approach supports offsetting and multiplying the variable and has clear behavior for formatter arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100