I had a lot of experience with Flee , the C # library that evaluates expressions such as those described by you. You can evaluate expressions as strongly typed operators, so if you need an integer, for example, "(1 + 2) * 5" would be nice, but there would be no "hello world".
You can even connect certain variables or functions. Page The Running Page is a great starting point.
source share