Jace
ncalc
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jace
- How to extract mathematical operators and digits from a string?
-
ASCII Graph Generator - Blazor WebAssembly Demo
Demo use Jace.NET for parse string functions.
-
How to parse a string to source code inline
Off the top of my head, NCalc, Jace, and Flee. Probably others, but these are the ones I know of.
-
I'm a bit new to C# and am working on a script that will test you on math. It tests you on all 4 main math elements so I have a lot of duplicate code. I decided to make a function with a string parameter but I'm wondering if I can use * or + as the string to multiply or add equations. Can I do this?
Jace is very good for this, and is free. https://github.com/pieterderycke/Jace
ncalc
-
Is there a c# library available that will evaluate arithmetic string such "5+3+max(3)" in runtime say from a file and provide output
NCalc is also an option https://github.com/ncalc/ncalc It can be easily extended to add new functions and it supports variables.
-
Handling Stack Overflow exceptions that arise from using a library function?
Alternatively you could possibly fix the code within the older version https://github.com/ncalc/ncalc/releases/tag/v1.3.8 of the source code yourself (if you do, please post the solution here)
-
How to parse a string to source code inline
Off the top of my head, NCalc, Jace, and Flee. Probably others, but these are the ones I know of.
What are some alternatives?
AngouriMath - New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.
Flee - Fast Lightweight Expression Evaluator
DynamicExpresso - C# expressions interpreter
dentaku - math and logic formula parser and evaluator
Mond - A scripting language for .NET Core
YoowzxCalc - .NET library for processing of mathematical expressions developed with emphasis on performance and flexibility of use.
Calculator - Calculator.NET - Calculator that evaluates math expressions
string-math - Evaluates a math expression from a string. Supports variables and custom operators.
IntervalUtility - .Net C # utility for working with intervals, such as time periods. The utility allows you to find intersections of periods, exclude periods, etc.
notepad-based-calculator - A smart calculator using natural language processing