Description: A while back, I wrote an article on CodeProject called TokenIcer. TokenIcer was a program that would automatically create a lexical parser in either C# or VB.NET, based on RegEx rules created in the program.
Since the time that I wrote the article, I have gotten some very good feedback and I wanted to take it a step further. I decided to use TokenIcer to create a Mathematical equation parser. That math parser is presented here in this article and its called Math Parser .NET. It is a .NET class library project that can be used with your own programs.
To Search:
File list (Check if you may need any files):
MathParserNet.jtconfig
MathParserNet.sln
MathParserNet.suo
MathParserNet
.............\Exceptions
.............\..........\CouldNotParseExpressionException.cs
.............\..........\MismatchedParenthesisException.cs
.............\..........\NoSuchFunctionException.cs
.............\..........\NoSuchVariableException.cs
.............\..........\VariableAlreadyDefinedException.cs
.............\FunctionArgumentList.cs
.............\IOrderedDictionary.cs
.............\Lexer.cs
.............\MathParserNet.csproj
.............\MathParserNet.csproj.ReSharper.user
.............\OrderedDictionary.cs
.............\Parser.cs
.............\Properties
.............\..........\AssemblyInfo.cs
.............\SimplificationReturnValue.cs
.............\StringResources.Designer.cs
.............\StringResources.resx
MathParserNetDemo
.................\calculator.ico
.................\MainForm.cs
.................\MainForm.Designer.cs
.................\MainForm.resx
.................\MathParserNetAboutBox.cs
.................\MathParserNetAboutBox.Designer.cs
.................\MathParserNetAboutBox.resx
.................\MathParserNetDemo.csproj
.................\Program.cs
.................\Properties
.................\..........\AssemblyInfo.cs
.................\..........\Resources.Designer.cs
.................\..........\Resources.resx
.................\..........\Settings.Designer.cs
.................\..........\Settings.settings
.................\Resources
.................\.........\calculator-icon.png
.................\.........\calculator.ico
.................\Strings.Designer.cs
.................\Strings.resx
MathParserNetTest
.................\MathParserNetTest.csproj
.................\Program.cs
.................\Properties
.................\..........\AssemblyInfo.cs