/pratt-parser-cpp

Pratt parser and evaluator for arithmetic expressions in C++.

Primary LanguageC++

pratt-parser-cpp

A simple implementation of a parser and evaluator for arithmetic expressions using Pratt parsing (Top-Down Operator Precedence parsing). Inspired by the only reasonably cogent Pratt Parser implementation and explanation in the wild, https://github.com/richardjennings/prattparser.