# ArashPartow/exprtk

C++ Mathematical Expression Parsing And Evaluation Library   https://www.partow.net/programming/exprtk/index.html

Repository: https://github.com/ArashPartow/exprtk
Canonical: https://ross.abutalabs.com/products/exprtk
Homepage: https://www.partow.net/programming/exprtk/index.html
Language: C++
License: NOASSERTION
License Family: other
Topics: c-plus-plus, math-expressions, exprtk, parser, lexer, high-performance, numerical-calculations, mit-license, mathematics, compiler, language, ast, grammar, scientific-computing, expression-evaluator, mirrored-repository, math, semantic-analyzer, optimization-algorithms, expression-parser
Last push: 2026-08-01T22:35:27+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 5331, "days_push": 32, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1017, forks 322 (observed 2026-08-28T04:03:14.573634+00:00)

## What it is
ExprTk is a C++ runtime mathematical expression parsing and evaluation engine, provided as an easy-to-integrate library. It supports arithmetic, logic, vector processing, control structures, loops, and expression optimization with high performance.

## Use cases
- evaluate user-supplied math expressions at runtime in C++
- parse and evaluate formulas from config files
- build a calculator or expression evaluator app
- embed a small expression language in a scientific computing tool
- evaluate parameterized equations with variables and vectors
- implement a domain-specific formula DSL without writing a parser

## When to choose
- you need fast, efficient runtime evaluation of mathematical expressions in C++
- you want a single-file, dependency-free library that is easy to integrate
- you need vector processing, control structures, and user-defined functions in expressions
- you want constant folding and other expression optimizations out of the box

## When to avoid
- you need a general-purpose programming language interpreter rather than math expressions
- your project is not C++ or needs bindings for another language
- you need symbolic math or computer algebra rather than numeric evaluation
- you require a permissively licensed dependency and cannot accept the project's custom MIT-style notice

## Facets
- artifact type: library
- maturity: stable
- function: parser, interpreter, compiler, math, developer-tools
- domain: mathematics, parsers, developer-tools
- platform: cpp, cross-platform, windows
- tags: expression-evaluator, expression-parsing, numerical-computation, ast, lexer, header-only, scientific-computing, high-performance, algorithms, linux, macos

## Member repositories
- ArashPartow/exprtk (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.573634+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:09:31.166881+00:00, confidence not recorded.
  - homepage: https://www.partow.net/programming/exprtk/index.html (fetched 2026-08-29T13:10:03.367786+00:00, sha 34809cd108c3)
  - site_page: https://www.partow.net/about/index.html (fetched 2026-08-29T13:10:03.378774+00:00, sha 3892554dcfbc)
  - site_page: https://www.partow.net/programming/exprtk/readme.html (fetched 2026-08-29T13:10:03.380799+00:00, sha 2b317ebf529d)
  - site_page: https://www.partow.net/programming/exprtk/doxygen/index.html (fetched 2026-08-29T13:10:03.399314+00:00, sha 0490b8d1e8a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
