Is there any compilable into .Net from C#, expandable via C# scripting language? -


so 3 things required:

  • pure il/c# generation script
  • abilety throw in c# classes , grammar constructs
  • simple c# api

generally want api this:

var sctipt = "script..."; var scriptconstruct =  "{0} \{ {1} \}"; scriptcompiler.registerconstruct<action<string, string> >(scriptconstruct); scriptcompiler.reginstertype(classt); scriptcompiler.bindfunction<action<string> >(myfunction, "functionnameinscript") var compiledscript = scriptcompiler.compile(sctipt); compiledscript.execute(); 

is there such scripting language? tried nemerle not find how work in way described.

a new project called roslyn in development @ moment , looking for. available community technology preview. many improvements have been made suggest try it.

http://msdn.microsoft.com/en-us/vstudio/roslyn.aspx


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -