Skip to content

Algo.Compiler

property · Algo · cAlgo.API.Internals Since 5.1

DesktopCLICloud

Provides access to algo compiler.

Definition

public Compiler Compiler {get;}
api.Compiler: Compiler

Returns Compiler

Examples

var result = Compiler.Compile(@"C:\Users\me\Documents\cAlgo\Sources\Robots\MyBot\MyBot.csproj");
Print("Compilation succeeded: {0}", result.Succeeded);
result = api.Compiler.Compile(r"C:\Users\me\Documents\cAlgo\Sources\Robots\MyBot\MyBot.csproj")
api.Print(f"Compilation succeeded: {result.Succeeded}")