I use that in many of my applications, though I use Google's V8 with .NET bindings for it. It makes scripting and modifications really easy, and I don't need to recompile shit - develop on the fly and allow users to modify behaviour to their liking.
So, using Jint or Jurassic, it's really simple to run javascript in C#. JavaScript syntax is similar to C#, and with Jint you can access .NET classes and libraries directly in your js code as if you were writing C#. Jint is more complete than Jurassic, so I'd probably use that, but would anyone make use of functions to write windows apps in javascript code? Would that be useful to anyone, or does someone know a simpler way to do that, or know another easily embedded scripting language for C#/.NET? Or would it be worthwhile to use C# as a scripting language inside of a C# application using Microsoft.CSharp to compile code into Assemblies in memory and run them there with certain libraries restricted? If anyone knows anything on the subject, please enlighten me.
I use that in many of my applications, though I use Google's V8 with .NET bindings for it. It makes scripting and modifications really easy, and I don't need to recompile shit - develop on the fly and allow users to modify behaviour to their liking.
Do you know if JScript is any good, or is V8 better? JScript has an implemented CodeDomProvider so it's quite simple to use.