mirror of
https://github.com/eledio-devices/thirdparty-tinyexpr.git
synced 2025-10-30 16:15:41 +01:00
Merge branch 'master' of https://github.com/codeplea/tinyexpr
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
[](https://travis-ci.org/codeplea/tinyexpr)
|
||||
|
||||
#TinyExpr
|
||||
|
||||
<img alt="TinyExpr logo" src="https://codeplea.com/public/content/tinyexpr_logo.png" align="right"/>
|
||||
|
||||
#TinyExpr
|
||||
|
||||
TinyExpr is a very small recursive descent parser and evaluation engine for
|
||||
math expressions. It's handy when you want to add the ability to evaluation
|
||||
@@ -23,6 +25,11 @@ the standard C math functions and runtime binding of variables.
|
||||
- Easy to use and integrate with your code
|
||||
- Thread-safe, provided that your *malloc* is.
|
||||
|
||||
##Building
|
||||
|
||||
TinyExpr is self-contained in two files: `tinyexpr.c` and `tinyexpr.h`. To use
|
||||
TinyExpr, simply add those two files to your project.
|
||||
|
||||
##Short Example
|
||||
|
||||
Here is a minimal example to evaluate an expression at runtime.
|
||||
|
||||
Reference in New Issue
Block a user