Gapotchenko.Turbo.CocoR.Integration.MSBuild
2022.2.12
Prefix Reserved
dotnet add package Gapotchenko.Turbo.CocoR.Integration.MSBuild --version 2022.2.12
NuGet\Install-Package Gapotchenko.Turbo.CocoR.Integration.MSBuild -Version 2022.2.12
<PackageReference Include="Gapotchenko.Turbo.CocoR.Integration.MSBuild" Version="2022.2.12"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Gapotchenko.Turbo.CocoR.Integration.MSBuild --version 2022.2.12
#r "nuget: Gapotchenko.Turbo.CocoR.Integration.MSBuild, 2022.2.12"
// Install Gapotchenko.Turbo.CocoR.Integration.MSBuild as a Cake Addin #addin nuget:?package=Gapotchenko.Turbo.CocoR.Integration.MSBuild&version=2022.2.12 // Install Gapotchenko.Turbo.CocoR.Integration.MSBuild as a Cake Tool #tool nuget:?package=Gapotchenko.Turbo.CocoR.Integration.MSBuild&version=2022.2.12
Turbo Coco/R MSBuild Integration
Gapotchenko.Turbo.CocoR.Integration.MSBuild
NuGet package allows you to integrate Turbo Coco/R at the MSBuild project level to improve the grammar development experience.
Getting Started
- Add
Gapotchenko.Turbo.CocoR.Integration.MSBuild
NuGet package to your MSBuild project - Every attributed grammar file with
.atg
extension will be automatically processed by Turbo Coco/R during the build using the following rules:- If the
.atg
file is empty then it will be automatically filled with a starter grammar for your convenience - Frame files will be automatically created if they do not exist yet
- The scanner and parser files will be generated automatically on every grammar modification
- If the
Project integration significantly reduces development time compared to the traditional approach with the manual usage of turbo-coco
command-line tool.
Requirements
Turbo Coco/R requires .NET 7.0+ to run
The MSBuild project MUST be in a new SDK-style format. While that project format is mainly associated with newer target frameworks such as .NET Core and .NET, it is also perfectly usable for .NET Framework.
(Tip: The new MSBuild project format is a good thing, and if you are not converted yet then you should strongly consider it. Tools like dotnet migrate-2019 may help you with that)
Please note that:
- The produced source files are not subject to any requirements and can work anywhere
Gapotchenko.Turbo.CocoR.Integration.MSBuild
NuGet package can be used in a project targeting not only .NET 7.0+ but any other framework without restrictionsGapotchenko.Turbo.CocoR.Integration.MSBuild
NuGet package does not rely on the installedturbo-coco
command-line tool. Instead, the package comes with the tool bundled inside. This allows you to use the specific version of Turbo Coco/R just by selecting the corresponding version ofGapotchenko.Turbo.CocoR.Integration.MSBuild
NuGet package in your project
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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 |
---|---|---|
2022.2.12 | 322 | 12/14/2022 |