This is a repost of an old article about the Sugar parsing library. This parsing technique uses shift/reduce (much like YACC in some ways) and precedence techniques and handles infix, prefix and postfix operators. It also handles confix operators (read the article!)
Overall, a good read, and I'm glad that ProgramMax decided to rehost this article from Douglas Gregor.
Overall, a good read, and I'm glad that ProgramMax decided to rehost this article from Douglas Gregor.