Software:CS-Script
Developer(s) | Oleg Shilo |
---|---|
Stable release | 3.30.5.2
/ 24 December 2020 |
Repository | github |
Platform | .NET Framework |
Size | 10 MB |
Type | Scripting language |
License | MIT License[1] |
Website | www |
CS-Script is a free and open-source scripting platform that enables creating scripts in ECMA-compliant C# syntax. These scripts have access to .NET Framework or Mono APIs.
CS-Script offers standalone script execution as well as hosting the script engine from CLR apps. A newer edition of this product, called CS-Script.Core works with .NET.
Existing .NET development tools (e.g. Visual Studio and Sharp Develop) can be used, allowing editing and debugging scripts within traditional .NET-aware development environments. Additionally, CS-Script support can be added to Notepad++ or Visual Studio Code via plugins.[2][3]
FlashDevelop uses CS-Script as its internal scripting engine.[4]
Benefits
Simple deployment approach
Just bring both the script and engine file (about 100 KB) onto the system that has .NET runtime installed, and the script can be run.
Portability
Scripts can be run on any system that has CLR installed (including Mono).
Base language is a full featured C#
CS-Script is a truly object-oriented language that supports VB.NET, C++/CLI and J#. All .NET functionality is available (including FCL, COM Interop, Remoting, WPF, WCF). Easily available debugger and rich IDE (Visual Studio or third-party IDEs). Execution model within the script is the same as for any .NET application: static void Main().
Optimized interpretation
Interpretation of any statement in the script is done only once, even if the statement is frequently used throughout the code.
Strongly typed
Strong typing is a luxury not available for the most of the scripting languages. All software development tasks can be done in the same language. GUI development for script application becomes easy.
Extensibility
The scripting system can be extended by using new assemblies written in any .NET languages or COM components. Any script can be easily converted into an application and vice versa. Functionality of any CLR application can be extended with scripting.[5]
Script hosting
Can be run within WSH and can be mixed in one WSF file.
References
- ↑ Shilo, Oleg (19 January 2018). "License". oleg-shilo/cs-script. https://github.com/oleg-shilo/cs-script/blob/master/LICENSE.
- ↑ "CS-Script - Visual Studio Marketplace". https://marketplace.visualstudio.com/items?itemName=oleg-shilo.cs-script.
- ↑ Shilo, Oleg (2019-06-27), CS-Script (C# Intellisense) plugin for Notepad++ (x86/x64): oleg-shilo/cs-script.npp, https://github.com/oleg-shilo/cs-script.npp, retrieved 2019-07-13
- ↑ "Scripting - FlashDevelop". http://www.flashdevelop.org/wikidocs/index.php?title=Scripting.
- ↑ Mascarenhas, Fabio (2004-01-01). LuaInterface: Scripting the .NET CLR with Lua. https://www.academia.edu/22772329/LuaInterface_Scripting_the_NET_CLR_with_Lua.
External links
- CS-Script as part of Wuji
- CS-Script as part of BRE API
- CS-Script as part of K2 API
- CS-Script as part of AyaNova (Official Website: AyaNova service management software)
Original source: https://en.wikipedia.org/wiki/CS-Script.
Read more |