Pratt Parsing 1
So I thought I would start a series on how Pratt parsing works. This is actually to help me understand this 3 months from now. This time, we will look at parsing -7+3*4 + 9 We first tokenize getting -,7, +, 3, *, 4, +, 9 One can use a regex for tokenizing such as [...]
Tagged javascript, parsing