LionWeb-CSharp-Generator
0.4.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 LionWeb-CSharp-Generator --version 0.4.0
NuGet\Install-Package LionWeb-CSharp-Generator -Version 0.4.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="LionWeb-CSharp-Generator" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LionWeb-CSharp-Generator" Version="0.4.0" />
<PackageReference Include="LionWeb-CSharp-Generator" />
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 LionWeb-CSharp-Generator --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LionWeb-CSharp-Generator, 0.4.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 LionWeb-CSharp-Generator@0.4.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=LionWeb-CSharp-Generator&version=0.4.0
#tool nuget:?package=LionWeb-CSharp-Generator&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
README
This project contains the .NET implementation of a generator that generates C# source code from a LionWeb M2 defined in LionCore (M3). The generator uses the Roslyn framework to generate C# ASTs and to unparse those to C# source files.
C# generator for M2 types
The code generator generates C# code from a language defined using the LionCore M3 types. Each language generates to a separate file. Each generated file contains:
- A
classfor eachAnnotationorConceptinstance, aninterfacefor eachInterfaceinstance, and anenumfor eachEnumerationinstance. - Each feature of a
Classifiergenerates into a regular field with a getter, a setter, and no default value. - An implementation of
INodeFactoryto create any concrete (i.e.: non-abstract)Classifierfrom this language.
Remarks:
- The generated
classes (eventually) extendNodeBase. The generatedinterfacees (eventually) extendINode. - The generated fields maintain the tree structure of the model.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- Microsoft.CodeAnalysis (>= 4.14.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 |
|---|---|---|
| 0.4.1 | 66 | 3/4/2026 |
| 0.4.0 | 108 | 1/21/2026 |
| 0.4.0-alpha.8 | 236 | 12/17/2025 |
| 0.4.0-alpha.7 | 217 | 12/15/2025 |
| 0.4.0-alpha.6 | 182 | 12/15/2025 |
| 0.4.0-alpha.5 | 458 | 12/1/2025 |
| 0.4.0-alpha.4 | 360 | 11/21/2025 |
| 0.4.0-alpha.3 | 362 | 11/20/2025 |
| 0.4.0-alpha.2 | 363 | 11/18/2025 |
| 0.4.0-alpha.1 | 155 | 10/14/2025 |
| 0.3.0 | 191 | 10/13/2025 |
| 0.3.0-rc.13 | 152 | 10/13/2025 |
| 0.3.0-rc.12 | 165 | 10/7/2025 |
| 0.3.0-rc.11 | 137 | 9/26/2025 |
| 0.3.0-rc.10 | 150 | 9/23/2025 |
| 0.3.0-rc.9 | 225 | 9/19/2025 |
| 0.3.0-rc.8 | 108 | 9/12/2025 |
| 0.3.0-rc.7 | 156 | 9/9/2025 |
| 0.3.0-rc.6 | 187 | 6/5/2025 |
Loading failed