SoftCircuits.Silk
1.5.0
Prefix Reserved
See the version list below for details.
dotnet add package SoftCircuits.Silk --version 1.5.0
NuGet\Install-Package SoftCircuits.Silk -Version 1.5.0
<PackageReference Include="SoftCircuits.Silk" Version="1.5.0" />
paket add SoftCircuits.Silk --version 1.5.0
#r "nuget: SoftCircuits.Silk, 1.5.0"
// Install SoftCircuits.Silk as a Cake Addin #addin nuget:?package=SoftCircuits.Silk&version=1.5.0 // Install SoftCircuits.Silk as a Cake Tool #tool nuget:?package=SoftCircuits.Silk&version=1.5.0
The Simple Interpreted Language Kit (SILK) is a .NET class library that makes it easy to add scripting and automation to your .NET applications.
The library includes three main components. A compiler, a compiled program, and a runtime. The compiler compiles the Silk source code to bytecode. This allows faster execution and also catches all source code syntax errors before running the Silk program.
The compiler produces a compiled program. A compiled program can be saved to a file, and later read from a file. This allows you to load and run a Silk program without recompiling it each time.
Finally, the runtime component can execute a compiled program.
The main power of this library is that it allows you to register your own functions and variables with the compiler and those functions and variables can be called from the Silk program. When one of your registered functions is called, the Function event is raised, allowing the host application to provide key functionality specific to the host application's domain.
The Silk language itself is designed to be relatively easy to learn. It has no semicolons or other excessive punctuation, it's not case sensitive and is very flexible about expressions involving mixed data types.
The library now includes support for .NET 5 and nullable reference types.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
.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
- No dependencies.
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Library now includes support for .NET 5 and nullable reference types
- Added static method CompiledProgram.FromFile()
- Added many overloads to Compiler.Compile(), including ones that accept streams or the source code as a string
- Added break keyword
- Added continue keyword
- Fixed compiler issue that didn't handle expressions that start with two minuses and left parentheses such as -(-(2 + 1))
- Added support for expressions with multiple array indexes, like array[i][j][k]
- Reworked Variable comparison code to make more consistent and smarter about comparing mixed types
- Variables registered by host application now read-only by default, but can be made writable
- Added Variable.CompareTo() methods
- Added intrinsic function Pow()
- Added optional decimals parameter to Round() intrinsic function
- Added intrinsic variables True and False
- Removed intrinsic variables PI and E
- Added automated unit tests
- Added additional test programs
- Minor tweaks and enhancements