This is part 19 in a series of articles on obscure programming languages.
What is Script.NET?
Script.NET (also known as S#) is an open-source metaprogramming language that adds scripting capabilities to Microsoft .NET applications, similar to VBA in Microsoft Office applications.
Script.NET was created in 2007 by Petro Protsyk, a Microsoft Certified Professional Developer. It started as a CodeProject article and eventually moved to CodePlex. In 2008, Script.NET was implemented with the Dynamic Language Runtime (DLR) and ported to the Irony platform. In late 2010, S# v3.0 beta was released for the .NET 4 platform.
S# is a weakly-typed dynamic language and runtime infrastructure to make .NET applications flexible, customizable, and extendable. S# adds runtime scripting to .NET applications, similar to how VBScript extends Microsoft Word and Excel.
Currently S# supports the following platforms:
- Microsoft .NET 4
- Microsoft .NET 3.5 (SP1)
- Microsoft Silverlight > 3
- Microsoft .NET Compact Framework
- Microsoft XNA Framework
“Hello World” in Script.NET
ast = <[ MessageBox.Show('Hello'); ]>; prog.AppendAst(ast);
Article published on August 25, 2011
|If you like this article, please share it:|