Asteroid.Logica.CompilerTools 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Asteroid.Logica.CompilerTools --version 0.2.0
                    
NuGet\Install-Package Asteroid.Logica.CompilerTools -Version 0.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="Asteroid.Logica.CompilerTools" Version="0.2.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Asteroid.Logica.CompilerTools" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Asteroid.Logica.CompilerTools">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Asteroid.Logica.CompilerTools --version 0.2.0
                    
#r "nuget: Asteroid.Logica.CompilerTools, 0.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 Asteroid.Logica.CompilerTools@0.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=Asteroid.Logica.CompilerTools&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Asteroid.Logica.CompilerTools&version=0.2.0
                    
Install as a Cake Tool

Asteroid.Logica.CompilerTools

本包包含与 Asteroid.Logica 配套的两类源生成器:

  1. 组表面生成器([Ops]):每个 partial 组类生成两个固定嵌套类型——ILogicaApi (组内非机器面槽的成员视图,DIM 默认实现经 LogicaQuery 静态桥 + (LogicaComponent)this 转发;[LogicaMachineOnly] 槽不上面)与 Slots(键目录: 每槽裸键+标准公式五操作数键)。组类须 partial;生成面名/槽名撞名与不支持的槽形态 在编译期报错。诊断族 AST0340-0343(另含组件形状闸 AST0311:LogicaComponent 不得 兼任 ILogicaService)。[LogicaApi] 手写接口已退役。
  2. 生成式贡献源([LogicaSource]/[LogicaContribution]):在 partial RuntimeComponent 上生成 ILogicaService 接线、ContributeSource/ CollectHandlersSource 分发骨架(根源类 protected virtual,派生源覆写并先调 base)、每类的 ContributeManual/CollectHandlersManual 手动钩子声明,以及 [LogicaContribution] 成员对应的常量/求值器/事件 handler 推送行。抽象源是正形; 公式槽必须用 Operand 指向具名操作数(公式根不可贡献,非公式槽不得指定); When 指向适用谓词三形之一——bool M(in EvalContext) 方法、bool P { get; } 属性或 bool F 字段。诊断族 AST0314-0333(形状与行绑定硬闸;0322/0327/0328 已随段语义退役)。空源与 [DefPartial] 缺实现半属完整性,不阻塞构建——归 asteroid code audit --structure 的完整性嫌疑清单。

运行时模块引用本包,其 buildTransitive 资产会自动应用于下游项目。完整作者面见 Asteroid.Logica 的 README「类型化调用面与生成器」「键机制」两节与 Asteroid.RuntimeObjects.Extra 的 README「生成式贡献源」节。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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.

Version Downloads Last Updated
0.2.3 78 11/18/2026
0.2.2 121 10/26/2026
0.2.1 100 10/26/2026
0.2.0 110 10/25/2026
0.1.7 101 10/17/2026
0.1.6 113 10/6/2026
0.1.5 109 9/27/2026
0.1.4 104 9/25/2026
0.1.3 109 9/25/2026
0.1.2 139 9/8/2026
0.1.1 128 9/8/2026
0.1.0 153 9/7/2026