views:

189

answers:

1

Dear All,

I want to create Mathematics Expression Evaluator in Silverlight. To do that easily, I need compilation on the fly using System.Reflection, System.Reflection.Emit, System.CodeDom.Compiler, and other related assemblies.

However, I cannot find this class available in Silverlight.

Give me some suggestion please.

Thank you in advance.

regards,

Yuko

+4  A: 

Silverlight doesn't do the CodeDom, System.Reflection and System.Reflection.Emit are present in the mscorlib for Silverlight.

Hence if you are going to do a expression evaluator you'll need to emit IL for the expressions.

Alternatively if you can use Javascript you could get the host browser to perform the evaluation.

AnthonyWJones