File tree 3 files changed +19
-1
lines changed
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public static void Compile(string file)
167
167
Log ( "MAKE SURE YOU HAVE MKBUNDLE INSTALLED, AND HAVE A MONO 'machine.config' AT /etc/mono/4.5/machine.config." ) ;
168
168
Process proc = new Process ( ) ;
169
169
proc . StartInfo . FileName = "/bin/bash" ;
170
- proc . StartInfo . Arguments = "-c \" mkbundle -o " + ProjectName + " --simple " + cp . OutputAssembly + " --machine-config /etc/mono/4.5/machine.config --no-config --nodeps *.dll \" " ;
170
+ proc . StartInfo . Arguments = "-c \" mkbundle -o " + ProjectName + " --simple " + cp . OutputAssembly + " --machine-config /etc/mono/4.5/machine.config --no-config --nodeps *.dll Algo.exe \" " ;
171
171
proc . StartInfo . UseShellExecute = false ;
172
172
proc . StartInfo . RedirectStandardOutput = true ;
173
173
proc . Start ( ) ;
Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ cp Algo/Standard\ Library/Algo\ Scripts/* Builds/std
21
21
# Copy over the main executable and Antlr dependencies for compile purposes.
22
22
cp Algo/bin/Debug/Algo.exe Builds/
23
23
cp Algo/bin/Debug/Antlr4.Runtime.dll Builds/
24
+ cp Algo/bin/Debug/AlgoSDK.dll Builds/
24
25
25
26
echo BUILD COMPLETE!
Original file line number Diff line number Diff line change
1
+ //Import dependencies.
2
+ import "io";
3
+
4
+ //Get the string the user wants to check.
5
+ print "Please enter a string to check.";
6
+ let toCheck = input.get();
7
+
8
+ //Reverse, compare.
9
+ let reversed = string.reverse(toCheck);
10
+ if (reversed == toCheck)
11
+ {
12
+ print "That is a palindrome!";
13
+ }
14
+ else
15
+ {
16
+ print "That is not a palindrome.";
17
+ }
You can’t perform that action at this time.
0 commit comments