Sarcasm 4.0.0
See the version list below for details.
dotnet add package Sarcasm --version 4.0.0
NuGet\Install-Package Sarcasm -Version 4.0.0
<PackageReference Include="Sarcasm" Version="4.0.0" />
paket add Sarcasm --version 4.0.0
#r "nuget: Sarcasm, 4.0.0"
// Install Sarcasm as a Cake Addin #addin nuget:?package=Sarcasm&version=4.0.0 // Install Sarcasm as a Cake Tool #tool nuget:?package=Sarcasm&version=4.0.0
Sarcasm
Sarcasm is an SDK for creating typesafe, domain-bound grammars. It also has a grammar driven general unparser.
Sarcasm provides the following features:
- Index-free AST building using domain-grammar bindings.
- Typesafe AST building using typesafe grammar.
- Automatic unparsing provided by the general unparser based on the grammar.
In a Sarcasm's domain-bound grammar you can write this e.g.:
binaryExpression.Rule =
expression.BindTo(binaryExpression, t => t.Term1)
+ binaryOperator.BindTo(binaryExpression, t => t.Op)
+ expression.BindTo(binaryExpression, t => t.Term2)
;
For more information see the Documentation. You can start with Introduction.
You can download the latest version of Sarcasm SDK from the Downloads directory.
License information
Sarcasm has been released under the GNU Lesser General Public License (LGPL). It means that you can use it freely as a library even in your prorietary (closed source) software. However, if you copy or modify the whole source code or part of it, that derivate work should also be released under the LGPL.
Hint: if you want to use Sarcasm in your proprietary software, but you need to modify Sarcasm's source code in order to get some extra features, modified behavior or bugfixes, you can simply clone/fork Sarcasm repository, do the changes in the clone repository, release it under LGPL, and use that modified library in your proprietary software, while keeping your proprietary software's source code closed. You can even ask for a pull request to the original Sarcasm repository if your changes are bugfixes, or you find that your extra features, modified behavior should be in the original Sarcasm SDK.
For legal license see License.
For precise, legal license information see License descriptions.
For usable, comprehensible information see LGPL on Wikipedia.
As of Jan 31, 2023, Irony is released under the MIT License, which is even more permissive than LGPL. For more and up to date information see Irony's License. About the MIT License see MIT License on Wikipedia.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- No dependencies.
-
net6.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.