code.ivysaur.me

pint

buildbuildsuccesssuccess written inwritten inPHPPHP

ABOUT
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

CONTACT

For bug reports, feature requests, or if you need any help, please click here to email me.

DOWNLOAD