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

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • notepad-based-calculator

    A smart calculator using natural language processing

  • string-math

    Evaluates a math expression from a string. Supports variables and custom operators.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • AngouriMath

    New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.

  • it's also might be helpful AngouriMath

  • ncalc

    Mathematical Expressions Evaluator for .NET (by ncalc)

  • NCalc is also an option https://github.com/ncalc/ncalc It can be easily extended to add new functions and it supports variables.

  • YoowzxCalc

    .NET library for processing of mathematical expressions developed with emphasis on performance and flexibility of use.

  • 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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts