I am just curious. Like in interpreted languages or even statement calculators how do people convert the strings given by input or files to actual expressions? e.g \"Ent
I believe this can be achieved using expression trees, which is how LINQ is implemented.
http://msdn.microsoft.com/en-us/library/bb397951.aspx
Here's an article you might check out. There are also tools like Flee. Or yet another technique which allows you to evaluate C# expressions using a CodeDom provider.
Google "parse tree". One can be written in any Turing-complete language.