This commit is contained in:
Lewis Van Winkle
2016-12-21 12:20:02 -06:00

View File

@@ -1,7 +1,9 @@
[![Build Status](https://travis-ci.org/codeplea/tinyexpr.svg?branch=master)](https://travis-ci.org/codeplea/tinyexpr) [![Build Status](https://travis-ci.org/codeplea/tinyexpr.svg?branch=master)](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 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 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 - Easy to use and integrate with your code
- Thread-safe, provided that your *malloc* is. - 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 ##Short Example
Here is a minimal example to evaluate an expression at runtime. Here is a minimal example to evaluate an expression at runtime.