ExpressionParsers C# and F# implementations of parsers for mathematical expressions. The code is documented in a couple of blog posts: Lexing and parsing mathematical expressions with F# Evaluating mathematical expressions using Shunting Yard and F# Recursive descent parsing of mathematical expressions with C#