/// <summary> /// Compiles brainfuck code into an executable. /// </summary> /// <param name="program">Brainfuck source code</param> /// <param name="pathName">Executable file path</param> /// <param name="fitness">IFitness</param> /// <param name="includeHeader">True to display the header (Brainfuck .NET Compiler 1.0, Created by ...).</param> public static void Compile(string program, string pathName, IFitness fitness, bool includeHeader = true) { Compile(program, pathName, fitness.GetType().Name, fitness.GetConstructorParameters()); }
/// <summary> /// Compiles brainfuck code into an executable. /// </summary> /// <param name="program">Brainfuck source code</param> /// <param name="pathName">Executable file path</param> /// <param name="fitness">IFitness</param> /// <param name="includeHeader">True to display the header (Brainfuck .NET Compiler 1.0, Created by ...).</param> public static void Compile(string program, string pathName, IFitness fitness, bool includeHeader = true) { Compile(program, pathName, fitness.GetType().Name, fitness.GetConstructorParameters()); }