A minimal expression evaluator with pluggable functions. https://code.ivysaur.me/pint
pl
This repository has been archived on 2020-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2014-05-08 08:35:49 +00:00
dist-archive commit all archived files 2014-05-08 08:35:49 +00:00
.legacy-codesite.toml initial meta commit 2014-05-08 08:35:49 +00:00
README.md commit all archived files 2014-05-08 08:35:49 +00:00

pint

A minimal expression evaluator with pluggable functions.

By using the precedence climbing method, it (A) respects infix order of operations, and (B) clocks in at 4x fewer lines than my earlier fxe.

Tags: PL

See Also

Precedence Climbing: https://en.wikipedia.org/wiki/Operator_precedence_parser#Precedence_climbing_method

Download