Info
Version: | 1.6.0 |
Author(s): | Jonathan Wood |
Last Update: | Tuesday, April 2, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/SoftCircuits/Silk |
NuGet Url: | https://www.nuget.org/packages/SoftCircuits.Silk |
Install
Install-Package SoftCircuits.Silk
dotnet add package SoftCircuits.Silk
paket add SoftCircuits.Silk
SoftCircuits.Silk Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
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.