Asteroid.Logica.CompilerTools
0.2.0
There is a newer version of this package available.
See the version list below for details.
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" />
<PackageReference Include="Asteroid.Logica.CompilerTools"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Asteroid.Logica.CompilerTools&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Asteroid.Logica.CompilerTools
本包包含与 Asteroid.Logica 配套的两类源生成器:
- 组表面生成器(
[Ops]):每个 partial 组类生成两个固定嵌套类型——ILogicaApi(组内非机器面槽的成员视图,DIM 默认实现经LogicaQuery静态桥 +(LogicaComponent)this转发;[LogicaMachineOnly]槽不上面)与Slots(键目录: 每槽裸键+标准公式五操作数键)。组类须 partial;生成面名/槽名撞名与不支持的槽形态 在编译期报错。诊断族 AST0340-0343(另含组件形状闸 AST0311:LogicaComponent 不得 兼任 ILogicaService)。[LogicaApi]手写接口已退役。 - 生成式贡献源(
[LogicaSource]/[LogicaContribution]):在 partialRuntimeComponent上生成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.