Skip to content
T

Tinyexpr

tiny recursive descent expression parser, compiler

by codepleaFree

#142in Education
0In stores

Description

TinyExpr is a very small C library for evaluating math expressions at run time. It is a recursive descent parser, compiler and evaluation en…

Highlights

  • Single C source and header file
  • Evaluates math expressions from text
  • No dependencies, ANSI C
  • zlib license

Ratings & Reviews

No ratings yet

Be the first to rate Tinyexpr.

People also visit

E

ExpressionEvaluator

A Simple Math and Pseudo C# Expression Evaluator in One C# File

Education
Launch
M

MathExecutor

Simple math expresions parser and calculator

Education
Launch
M

MathParser.org-mXparser

Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms

Education
Launch
N

Nerdamer

a symbolic math expression evaluator for javascript

Education
Launch
F

Fast Formula Parser

Parse and evaluate MS Excel formula in javascript

Productivity
Launch
C

Cglm

Highly Optimized 2D / 3D Graphics Math (glm) for C

Education
Launch

Tinyexpr FAQ

What is TinyExpr?

A small C library that parses and evaluates math expressions given as text.

Is it free?

Yes. The site says it is open source and free, released under the zlib license.

How do I add it to my project?

Include the single source file and the header file, then call te_interp with the expression.

Does it need other libraries?

No. The site says it is ANSI C with no dependencies.

Is it thread-safe?

The site describes it as thread-safe.

Does it support standard functions?

Yes. It implements standard operator precedence and common math functions.

What are the best Tinyexpr alternatives?

Popular alternatives to Tinyexpr include ExpressionEvaluator, MathExecutor and MathParser.org-mXparser. See all Tinyexpr alternatives

Developer Stuff

Badges