Repository navigation
TinyExpr v1.1
First tagged release of TinyExpr. The library has been stable and in production use for years; this tag gives package managers and vendored copies a fixed point to pin.
Highlights
New features
- Comparison and logical operators:
<,<=,>,>=,==,!=,&&,||, and!, following C operator precedence
Fixes and robustness
- Locale-independent number parsing, so expressions behave the same regardless of the system locale (#142)
- Parser recursion depth is now limited, preventing stack overflow on deeply nested expressions (#136)
- Fixed unary operator handling when compiled with
TE_POW_FROM_RIGHT(#52) - Fixed undefined behavior from passing signed chars to
ctypefunctions (#105) - Allocation failures during parsing are now handled gracefully
- Improved error position reporting
Portability and infrastructure
- ARMCC compiler support (#119)
- Continuous integration via GitHub Actions: gcc and clang on Linux, plus macOS