1
shouts

patrick dewane gathers wool: Strange Curry

posted by patrickdewanepatrickdewane 216 days, 20 hours, 35 minutes ago
Tuesday, July 07, 2009 6:30:23 PM GMT

Just for fun (again, my definition of fun), I was working on a stack based evaluator for Polish notation. This notation differs from infix by moving operators to the front of their corresponding operands, such as '+ 4 7' as opposed to '4 + 7', or '+ 4 - 10 3' instead of '4 + (10 - 3)'. One wonderful feature of this notation is that it renders parenthesis completely useless, providing a cleaner syntax for evaluation (the same can be said of Reverse Polish notation, the yang to Polish notations yin). Evalu...

category: Foundation | clicked: 2 | | source: www.patrickdewane.com | show counter code
tags: C#, Curry

No comments yet, be the first one to post comment.

To post your comment please login or signup