Sarcasm 4.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sarcasm --version 4.1.0                
NuGet\Install-Package Sarcasm -Version 4.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sarcasm" Version="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sarcasm --version 4.1.0                
#r "nuget: Sarcasm, 4.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sarcasm as a Cake Addin
#addin nuget:?package=Sarcasm&version=4.1.0

// Install Sarcasm as a Cake Tool
#tool nuget:?package=Sarcasm&version=4.1.0                

Sarcasm

NuGet NuGet Build License

Summary

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

  • net6.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.2.0 633 9/1/2024
4.1.0 2,056 2/5/2023
4.0.0 389 1/31/2023