Click here to Skip to main content
15,891,423 members
Articles / Programming Languages / C#

Parsing a postfix expression in C#, my naive approach

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
21 Dec 2010CPOL 15.2K   1  
Here is my take on the same, using Lambda expressions and slightly more advanced regular expression features:I have not tested this code, so errors may exist.This implementation will ignore unrecognized tokens. namespace Postfix { class Parser { static Dictionary<string,...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Norway Norway
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions