MASS4.Graph.Interpreter 1.2.0

dotnet add package MASS4.Graph.Interpreter --version 1.2.0
                    
NuGet\Install-Package MASS4.Graph.Interpreter -Version 1.2.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="MASS4.Graph.Interpreter" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MASS4.Graph.Interpreter" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="MASS4.Graph.Interpreter" />
                    
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 MASS4.Graph.Interpreter --version 1.2.0
                    
#r "nuget: MASS4.Graph.Interpreter, 1.2.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 MASS4.Graph.Interpreter@1.2.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=MASS4.Graph.Interpreter&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=MASS4.Graph.Interpreter&version=1.2.0
                    
Install as a Cake Tool

MASS4.Graph.Interpreter

Reference backend and differential-test oracle for the core, dataflow, control and state packages. Targets net10.0; requires dataflow semantics and accepts optional control/state semantics. It compiles only the semantics in which the document participates.

GraphInterpreter.Compile(document) or CompileAsync(new GraphSource(document)) returns a graph and diagnostics. Check that the graph is present before allocating an InstanceBuffer from its layout. Register domain types separately; generated modules can supply the registry and matching semantics.

InterpretedGraph implements ICompiledGraph. Each evaluation starts a data epoch, ticks a participating state machine using StateTime, then runs control tick entries. Hosts provide every RequiredFeatures entry before initialization/evaluation. Missing features and control runaway fail explicitly. Use typed variable writes and declared-output reads on ICompiledGraph so host code can work with other backends.

Live editing

InterpreterSession subscribes to document changes and recompiles on refresh or the first evaluation after an edit. A successful recompile restarts instances; instance state is not migrated across edits. Failed compilation retains the last good graph and reports diagnostics. Dispose the session to unsubscribe from the document.

Differential testing

DifferentialHarness.CompareAsync compiles one source with reference and candidate backends, then compares observations after initialization and every scenario step. Scenario supports evaluation, signal raises, variable writes and host-context configuration across multiple instances. Reports identify divergences by step, instance and element identity.

DifferentialOptions provides floating-point tolerance and type-specific content comparers. Use Comparers for reference values such as frames instead of changing domain-object equality. Backends must require matching feature sets; mismatches are MG4001 and prevent execution.

The interpreter is the execution oracle for compiler backends. The generated backends of the three sample assets are the first independent candidates: each is compared against the interpreter on its sample scenario, including instance layout, required features and declared outputs. See interpreter tests and sample equivalence tests.

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.2.0 71 11/4/2026
1.1.0 136 10/29/2026
1.0.0 95 10/28/2026