AiCompiler 0.1.0
dotnet add package AiCompiler --version 0.1.0
NuGet\Install-Package AiCompiler -Version 0.1.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="AiCompiler" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AiCompiler --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AiCompiler, 0.1.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.
// Install AiCompiler as a Cake Addin #addin nuget:?package=AiCompiler&version=0.1.0 // Install AiCompiler as a Cake Tool #tool nuget:?package=AiCompiler&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AiCompiler
Do you want
- Slower compile times
- Unreliable output, or
- The worst code imaginable?
Then AiCompiler
is the NuGet package for you!
AiCompiler
is the easiest way to write C#, by not writing any C# at all!
With a sleek AiGenerated
attribute applied to an empty method, the compiler
writes the implementation for you!
Look at this amazing example
/// <summary>
/// Adds two integers.
/// </summary>
/// <param name="a">The first integer.</param>
/// <param name="b">The second integer.</param>
/// <returns>
/// The sum of the two integers.
/// </returns>
[AiGenerated]
private partial int Add(int a, int b);
With no effort[^1] from the developer at all the compiler generates code that passes the tests
Add(2, 3).Should().Be(5)
[^1]: Except a few comments
Use it in production today!
dotnet add package AiCompiler --version 0.1.0.0
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.CodeAnalysis.CSharp (>= 4.9.2)
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 |
---|---|---|
0.1.0 | 121 | 6/23/2024 |