Script.NET

Script .NET is a simple scripting engine which can be embedded into .NET framework applications to perform custom functionality in run-time. It works like VBA in Microsoft Office Applications. The difference is that Script .NET may use custom object model, different for each application. Script .NET is written in C#.

Script.NET may be tested on-line: Test Now

The key principles of Script .NET are:

The idea of Script .NET was born 17 September 2007. Then:

In current version I am using C# Compiler Tools from http://cis.paisley.ac.uk/crow-ci0/ to produce Lexical analyzer and language parser.

Getting Started

All you need to start working with Script .NET is to add reference to ScriptDotNet.dll,

Example (in C# code):

using ScriptDotNet;
Script s = Script.Compile(
   "MessageBox.Show('Hello .NET! This is Script .NET');");
s.AddType("MessageBox", typeof(MessageBox));
s.Execute();

See Also

Language Description->Types