Skip to content

Commit d099b92

Browse files
Renamed Brainf-ck compiler to BrainPlus
1 parent a163b51 commit d099b92

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

AIProgrammer.Compiler/AIProgrammer.Compiler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<Reference Include="System.Xml" />
4040
</ItemGroup>
4141
<ItemGroup>
42-
<Compile Include="Brainfuck.cs" />
42+
<Compile Include="BrainPlus.cs" />
4343
<Compile Include="Properties\AssemblyInfo.cs" />
4444
</ItemGroup>
4545
<ItemGroup>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace AIProgrammer.Compiler
1313
/// Usage: Compiler.Compile("++++.", "StringFitness", 2000);
1414
/// Output: exe file thats runs the brainfuck code.
1515
/// </summary>
16-
public static class Brainfuck
16+
public static class BrainPlus
1717
{
1818
/// <summary>
1919
/// Compiles brainfuck code into an executable.
@@ -68,7 +68,7 @@ public static void Main(string[] args)
6868
if (includeHeader)
6969
{
7070
sourceCode = sourceCode.Replace("[HEADER]", @"
71-
Console.WriteLine(""Brainfuck .NET Compiler 1.0"");
71+
Console.WriteLine(""BrainPlus .NET Compiler 1.0"");
7272
Console.WriteLine(""Created by Kory Becker"");
7373
Console.WriteLine(""http://www.primaryobjects.com/kory-becker.aspx"");
7474
Console.WriteLine();");

AIProgrammer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static void Main(string[] args)
119119
Console.WriteLine();
120120

121121
// Compile to executable.
122-
Brainfuck.Compile(program, "output.exe", myFitness, _maxIterationCount);
122+
BrainPlus.Compile(program, "output.exe", myFitness, _maxIterationCount);
123123

124124
// Run the result for the user.
125125
string result = myFitness.RunProgram(program);

0 commit comments

Comments
 (0)