dotnet-ylt 1.0.1

.NET 5.0 .NET Core 3.1
dotnet tool install --global dotnet-ylt --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-ylt --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ylt&version=1.0.1
nuke :add-package dotnet-ylt --version 1.0.1

dotnet-ylt

This .NET tool is part of the Yacc/Lex Tools. It can be used on Windows, macOS and Linux for adding parsers to you .Net Core and .NET C# projects.

For installing the tool type the command below in the terminal

dotnet tool install dotnet-ylt --global

Installing dotnet-ylt globally lets you install it just once and not for every project.

Adding a parser to a .NET console application is very easy. Open the terminal in the project folder and type the command

dotnet ylt add-parser -p <parserName>

The parser name is given with the parameter -p or --parser.

For adding the calculator example:

dotnet ylt add-calculator

video-sample-1.gif

Both commands support the optional parameter -n or --namespace for creating the parser in the given namespace.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 324 10/13/2022
1.0.0 398 5/3/2022