Rulealize.Plugin.TypeSchema 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rulealize.Plugin.TypeSchema --version 1.1.0
                    
NuGet\Install-Package Rulealize.Plugin.TypeSchema -Version 1.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="Rulealize.Plugin.TypeSchema" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rulealize.Plugin.TypeSchema" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Rulealize.Plugin.TypeSchema" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rulealize.Plugin.TypeSchema --version 1.1.0
                    
#r "nuget: Rulealize.Plugin.TypeSchema, 1.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.
#:package Rulealize.Plugin.TypeSchema@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rulealize.Plugin.TypeSchema&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Rulealize.Plugin.TypeSchema&version=1.1.0
                    
Install as a Cake Tool

Rulealize.Plugin.TypeSchema

The scalar vocabulary a Rulealize rule set's state.schema is written in.

Plugin id Rulealize.Plugin.TypeSchema
Namespace type
Reserved prefix none
Depends on Rulealize.Abstraction
Specification doc/specification.md

type.enum, type.int, type.bool, type.string, type.list. Everything here is a schema node, not an expression: schema nodes appear inside state.schema and nowhere else, and are never evaluated. Using one in expression position is a build error.

Composite types belong to whoever owns them. A grid plugin supplies the board and accepts any schema node for its cells; that this plugin's enumeration is what usually lands there is a fact about rule sets, not a dependency between the two.

A rule set runs from state.initial alone, so the schema has to earn its place. It does that by making three other things possible: checking a state document that arrived from outside, checking the initial state while the rule set is built rather than when it runs, and type inference eventually — exhaustiveness for branch.match and kind mismatch for cmp both need it, and neither exists yet.

nullable is a shared modifier rather than a variant per scalar, because the shape a board cell needs — black, white, or empty — then fits on one line. An empty square being null rather than a third enumeration member is a deliberate decision the specification argues for; it is what keeps Reversi's flip rule to a single comparison.

Building

Rulealize.Abstraction is not on nuget.org yet, so NuGet.config points at a folder feed. Produce it from the abstraction repository first:

dotnet pack path\to\Rulealize.Abstraction\src\Rulealize.Abstraction -c Release -o path\to\LocalNuGet

with LocalNuGet a sibling of this repository. Then dotnet build.

License

Apache-2.0.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.1.1 118 9/5/2026
1.1.0 290 8/11/2026