A minimal expression evaluator with pluggable functions. https://code.ivysaur.me/pint
pl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
mappu 35f3a8f860 commit all archived files 6 years ago
dist-archive commit all archived files 6 years ago
.legacy-codesite.toml initial meta commit 6 years ago
README.md commit all archived files 6 years ago

README.md

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