mariuszgromada / mariuszgromada/MathParser.org-mXparser
Binary operator request or customization
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 955
- Forks
- 158
- PR merge metrics
- No merged PRs in 30d
Description
Hello
Do you have in plans to add binary operator like "??" that will return first parameter if it is defined (not nan) or second.
Or may be there any option to implement the operator myself?
I know about coalesce function and I know that I can implement custom function, but I need exactly operator, not function.
And thanks for the great library you did!
Contributor guide
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
The issue names no files or tests. Start by reviewing the existing coalesce behavior and documented extension points for custom operators; clarify whether ?? should be built in or user-definable, then establish its parsing and undefined/NaN semantics. Done means the requested operator behavior and customization scope are defined and covered by tests and documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100