Cs.Antlr
0.0.3
dotnet add package Cs.Antlr --version 0.0.3
NuGet\Install-Package Cs.Antlr -Version 0.0.3
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="Cs.Antlr" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cs.Antlr" Version="0.0.3" />
<PackageReference Include="Cs.Antlr" />
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 Cs.Antlr --version 0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cs.Antlr, 0.0.3"
#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 Cs.Antlr@0.0.3
#: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=Cs.Antlr&version=0.0.3
#tool nuget:?package=Cs.Antlr&version=0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cs.Antlr
Antlr4.StringTemplate를 사용하는 모듈입니다.
현재는 간단하게 Antlr4.StringTemplet.TempletGroup 타입의 인스턴스를 생성하고 캐싱해두는 기능만을 제공합니다.
아래의 예시와 같이 사용합니다.
Getting Started
if (StringTemplateFactory.Instance.Initialize(config.Path.TextTemplate) == false)
{
Log.Error($"TextTemplate initialize failed.");
return false;
}
...
// create template from file
var template = StringTemplateFactory.Instance.CreateFromFile("Template_enum.stg", "writeFile");
// or create templet from string
StringTempletFactory.Instance.CreateFromStgring("sourceName", "templateSourceBody...");
templet = StringTempletFactory.Instance.GetTemplet("sourceName", "writeFile");
templet.Add("model", this);
using (var sw = new StreamWriter(outputFilePath, append: false, Encoding.UTF8))
{
sw.WriteLine(template.Render());
}
Prerequisites
- .net SDK 8.0
Installation
download from nuget.org
dotnet add package Cs.Antlr
License
This project is licensed under the MIT License. For details, see the License File.
Contact
mailto: github@studiobside.com
| 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
- Cs.Core (>= 0.0.3)
- Cs.Logging (>= 0.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
first release