LionWeb-CSharp-Generator 0.2.4-beta.0

This is a prerelease version of LionWeb-CSharp-Generator.
dotnet add package LionWeb-CSharp-Generator --version 0.2.4-beta.0                
NuGet\Install-Package LionWeb-CSharp-Generator -Version 0.2.4-beta.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.2.4-beta.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LionWeb-CSharp-Generator --version 0.2.4-beta.0                
#r "nuget: LionWeb-CSharp-Generator, 0.2.4-beta.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.
// Install LionWeb-CSharp-Generator as a Cake Addin
#addin nuget:?package=LionWeb-CSharp-Generator&version=0.2.4-beta.0&prerelease

// Install LionWeb-CSharp-Generator as a Cake Tool
#tool nuget:?package=LionWeb-CSharp-Generator&version=0.2.4-beta.0&prerelease                

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 class for each Annotation or Concept instance, an interface for each Interface instance, and an enum for each Enumeration instance.
  • Each feature of a Classifier generates into a regular field with a getter, a setter, and no default value.
  • An implementation of INodeFactory to create any concrete (i.e.: non-abstract) Classifier from this language.

Remarks:

  • The generated classes (eventually) extend NodeBase. The generated interfacees (eventually) extend INode.
  • The generated fields maintain the tree structure of the model.
Product 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. 
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
0.2.4-beta.0 0 1/15/2025
0.2.3 34 1/13/2025
0.2.3-rc.2 28 1/13/2025
0.2.3-rc.1.1 0 1/15/2025
0.2.3-rc.1 78 12/4/2024
0.2.2 125 10/21/2024
0.2.2-rc.7 78 9/17/2024
0.2.2-rc.6 104 7/16/2024
0.2.2-rc.5 59 7/11/2024
0.2.2-rc.4 57 7/9/2024
0.2.2-rc.3 51 7/9/2024
0.2.2-rc.2 47 7/5/2024
0.2.2-rc.1 64 7/5/2024