This post is part of the Introduction to parsing series. In this part we’ll complete our initial goal, adding the ability to our parser to calculate the symbolic derivative of an user-defined functions. We’ll also take a couple of shortcuts to keep the code focused on the parsing, and leave the improvements as “an exercise”. :-) The GitHub commits for this part are here and here. Calculating the derivative of a Node Before modifying our parser, we need to be able to calculate the deri...