Extending C# .NET application - build a custom scripting language or not?

后端 未结 9 1305
情书的邮戳
情书的邮戳 2020-12-31 10:08

I need to build a scripting interface for my C# program that does system level testing of embedded firmware.

My application contains libraries to fully interact with

9条回答
  •  余生分开走
    2020-12-31 10:30

    It might be worth considering PowerShell for this sort of task. That can call into .Net just as any of the DLR languages, and has a more natural language type chunking for tasks in its cmdlet (command-let) concept. You have to write the cmdlets in a compiled language at v1 -- in v2 which is being rolled out starting with Win7 and working to older releases in the next few months (v2 for Vista/Win2k8 is at RC now), you can build those in PowerShell directly.

提交回复
热议问题