YoowzxCalc
ExpressionEvaluator
YoowzxCalc | ExpressionEvaluator | |
---|---|---|
4 | 4 | |
7 | 562 | |
- | - | |
0.0 | 4.9 | |
over 1 year ago | 7 months ago | |
C# | C# | |
MIT License | MIT License |
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.
YoowzxCalc
-
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
self promotion: https://github.com/MarkusSecundus/YoowzxCalc compared to what I've already seen heere, I'd say it's even more heavily customizable - you can add custom functions, constants, even redefine all operators and make it operate on other types like strings if you make a little bit of effort You can define functions with parameters, do recursion, and the expressions are compiled to CIL so performance is pretty ok as well
- Feedback needed - Library for evaluating one-line expressions
- [C#] Feedback needed - Library for evaluating one-line expressions
- [C#] Library for evaluating one-line expressions
ExpressionEvaluator
-
parsing strings for calculation
If you don't want to roll your own, there are many existing libraries for this purpose.
- [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding]
- Is there any easy way to call a variable through a string?
-
okidoki - markdown editor with C# support
Yup it's in Blazor. For C# evaluation I've used ExpressionEvaluator. I'll probably replace it with Microsoft.CodeAnalysis.CSharp.Scripting library but I had some issues when i try to run it on WASM. I guess it's related to this issue
What are some alternatives?
ncalc - Mathematical Expressions Evaluator for .NET
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
string-math - Evaluates a math expression from a string. Supports variables and custom operators.
Calcpad - Free and open source software for mathematical and engineering calculations.
notepad-based-calculator - A smart calculator using natural language processing
MathParser.org-mXparser - Math Parser Java Android C# .NET/MONO (.NET Framework, .NET Core, .NET Standard, .NET PCL, Xamarin.Android, Xamarin.iOS) CLS Library - a super easy, rich and flexible mathematical expression parser (expression evaluator, expression provided as plain text / strings) for JAVA and C#. Main features: rich built-in library of operators, constants, math functions, user defined: arguments, functions, recursive functions and general recursion (direct / indirect). Additionally parser provides grammar and internal syntax checking.
ReadableExpressions - A library and Debugger Visualizer which translates Expression Trees into readable C# source code. .NET 3.5+ and .NET Standard 1.0+.
water-shader-unity - Simulation of water in Unity
AngouriMath - New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.
Westwind.Scripting - Small C# library to provide dynamic runtime code compilation from source code for code and expressions execution
fast-member - Automatically exported from code.google.com/p/fast-member
DynamicExpresso - C# expressions interpreter