Evaluating mathematical expressions

I asked Google for “recursive descent expression parser” (I don’t blame you for not knowing what to look for) and found Parsing Expressions by Recursive Descent which provides an introduction to some useful parsing techniques.

Also, the Wikipedia article on Recursive descent parser includes a fairly complete example in C.

Leave a Comment