LionWeb-CSharp-Generator 0.6.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package LionWeb-CSharp-Generator --version 0.6.0
                    
NuGet\Install-Package LionWeb-CSharp-Generator -Version 0.6.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.6.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.6.0" />
                    
Directory.Packages.props
<PackageReference Include="LionWeb-CSharp-Generator" />
                    
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 LionWeb-CSharp-Generator --version 0.6.0
                    
#r "nuget: LionWeb-CSharp-Generator, 0.6.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.6.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.6.0
                    
Install as a Cake Addin
#tool nuget:?package=LionWeb-CSharp-Generator&version=0.6.0
                    
Install as a Cake Tool

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.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LionWeb-CSharp-Generator:

Package Downloads
Strumenta.Sharplasu

A .NET library to build a custom, possibly mutable, Abstract Syntax Tree (AST)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0-alpha.1 0 9/21/2026
0.7.0-alpha.0 70 9/7/2026
0.6.0 85 9/9/2026
0.6.0-RC.6 78 9/2/2026
0.6.0-RC.5 66 8/26/2026
0.6.0-RC.4 74 8/6/2026
0.6.0-RC.3 61 7/29/2026
0.6.0-RC.2 63 7/23/2026
0.6.0-RC.1 63 7/17/2026
0.6.0-RC.0 62 7/16/2026
0.5.0 136 6/19/2026
0.5.0-RC.2 71 6/19/2026
0.5.0-RC.1 63 6/12/2026
0.5.0-RC.0 63 6/7/2026
0.4.7 137 5/21/2026
0.4.6 115 5/5/2026
0.4.5 148 4/16/2026
0.4.4 128 4/10/2026
0.4.3 135 3/24/2026
0.4.2 138 3/17/2026
Loading failed