Adding scripting functionality to .NET applications

前端 未结 9 1517
不思量自难忘°
不思量自难忘° 2020-11-29 21:55

I have a little game written in C#. It uses a database as back-end. It\'s a trading card game, and I wanted to implement the function of the cards as a script.

What

9条回答
  •  囚心锁ツ
    2020-11-29 22:41

    If you don't want to use the DLR you can use Boo (which has an interpreter) or you could consider the Script.NET (S#) project on CodePlex. With the Boo solution you can choose between compiled scripts or using the interpreter, and Boo makes a nice scripting language, has a flexible syntax and an extensible language via its open compiler architecture. Script.NET looks nice too, though, and you could easily extend that language as well as its an open source project and uses a very friendly Compiler Generator (Irony.net).

提交回复
热议问题