CSCS.Core
1.0.26
dotnet add package CSCS.Core --version 1.0.26
NuGet\Install-Package CSCS.Core -Version 1.0.26
<PackageReference Include="CSCS.Core" Version="1.0.26" />
<PackageVersion Include="CSCS.Core" Version="1.0.26" />
<PackageReference Include="CSCS.Core" />
paket add CSCS.Core --version 1.0.26
#r "nuget: CSCS.Core, 1.0.26"
#:package CSCS.Core@1.0.26
#addin nuget:?package=CSCS.Core&version=1.0.26
#tool nuget:?package=CSCS.Core&version=1.0.26
CSCS stands for "Customized Scripting in C Sharp". It is described in various books and magazines, but mostly in CODE Magazine articles.
CSCS.Core module is the main module where the "Split-and-merge"parsing algorithm is implemented. CSCS.InterpreterManager package is also required (you start running CSCS from it and it also manages interpreters for a scripting multi-threaded application). Here is an example of using CSCS in your project:
using cscs = CSCS.InterpreterManager.CSCS;
Console.WriteLine("Starting...");
var script = $@"
Start = pstime;
print('Start pstime=' + Start);
now = now('yyyy/MM/dd HH:mm:ss.fff');
Print('Starting tests.', now);
Import('CSCS.Math');
val = Math.Exp(Math.sin(Math.Pi));
print(val);
End = pstime;
print('End pstime=' + End);
";
cscs.RunScript(script);
Console.WriteLine("Finished script.");
cscs.StartDebugger();
while (true)
{
Thread.Sleep(1000);
}
Note that you will have more freedom and power if you add CSCS source code to your project. The source code is available here.
Also check out the Visual Studio Code Extension CSCS Debugger & REPL. You can easily edit and debug CSCS files with it. To be able to use this extension, you need to run first cscs.StartDebugger() (as in the code above).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- System.CodeDom (>= 8.0.0)
- System.Configuration.ConfigurationManager (>= 8.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CSCS.Core:
| Package | Downloads |
|---|---|
|
CSCS.InterpreterManager
CSCS.Manager (Customized Scripting in C#) required module. Manages scripting interpreters. It is the main entry point to start scripting. |
|
|
CSCS.SqlClient
CSCS.SqlClient (Customized Scripting in C#) optional module. Manages Sql related scripting |
|
|
CSCS.Math
CSCS.Math (Customized Scripting in C#) optional module. Manages scripting math functions |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.26 | 212 | 10/9/2025 |
| 1.0.25 | 200 | 10/8/2025 |
| 1.0.24 | 234 | 10/5/2025 |
| 1.0.23 | 130 | 10/4/2025 |
| 1.0.22 | 120 | 10/4/2025 |
| 1.0.21 | 246 | 9/15/2025 |
| 1.0.20 | 238 | 9/14/2025 |
| 1.0.19 | 174 | 9/14/2025 |
| 1.0.18 | 179 | 9/14/2025 |
| 1.0.17 | 206 | 9/11/2025 |
| 1.0.16 | 218 | 9/1/2025 |
| 1.0.15 | 239 | 8/28/2025 |
| 1.0.14 | 251 | 8/27/2025 |
| 1.0.13 | 260 | 8/24/2025 |
| 1.0.12 | 220 | 8/24/2025 |
| 1.0.11 | 195 | 8/10/2025 |
| 1.0.10 | 162 | 8/3/2025 |
| 1.0.9 | 370 | 7/20/2025 |
| 1.0.8 | 192 | 7/13/2025 |
| 1.0.7 | 290 | 5/29/2025 |