ncalc/ncalc
NCalc is a fast and lightweight expression evaluator library for .NET, designed for flexibility and high performance. It supports a wide range of mathematical and logical operations. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13.0
- age_days: 3213
- days_rel: 26
- days_push: 8
- n_releases_24m: 31
Adoption not part of the score
1154 stars · 126 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NCalc is a fast, lightweight expression evaluator library for .NET that parses and evaluates mathematical and logical expressions at runtime. It supports parameters, built-in and custom functions, lambda compilation, async evaluation, and dependency injection via optional packages.
Use cases
- evaluate user-supplied math formulas at runtime in .NET
- parse and compute logical expressions dynamically
- let users define configurable formulas with parameters
- compile expressions to lambdas for high-performance repeated evaluation
- add custom functions to a runtime expression engine
- evaluate spreadsheet-like expressions in an app
When to choose
- you need a lightweight, fast expression engine on .NET or .NET Framework
- you want extensible evaluation with custom functions and parameters
- you need async evaluation or lambda compilation of expressions
When to avoid
- you need a full scripting language rather than expression evaluation
- your project is not on the .NET platform
- you need symbolic math or computer algebra rather than numeric evaluation
Facets
library · maturity active
parser interpreter math developer-tools programming-languages dotnet cross-platform expression-evaluator runtime-evaluation antlr formula-engine csharp algorithms
2 sources
- readme: https://github.com/ncalc/ncalc · fetched 2026-08-28 · 075f93f299ec
- homepage: https://ncalc.gumbarros.com.br · fetched 2026-08-29 · e2f69f8d3b8d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ncalc/ncalc | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem