dotnet tool install --global dotnet-ylt --version 1.2.2
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-ylt --version 1.2.2
nuke :add-package dotnet-ylt --version 1.2.2
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
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
For adding the calculator example:
dotnet ylt add-calculator
Both commands support the optional parameter
--namespace for creating the parser in the given namespace.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android 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.|
This package has no dependencies.