The Kraken compiler now compiles programs automatically, moving this functionality from the tester in preperation for making test_compiler not a test

This commit is contained in:
Nathan Braswell
2016-01-24 03:14:24 -05:00
parent 105a969a00
commit 9f714dc9ec
5 changed files with 12 additions and 9 deletions

View File

@@ -12,7 +12,6 @@ class Tester {
public:
Tester(std::string krakenInvocation, std::string krakenGrammerLocation);
~Tester();
int ssystem(std::string command);
bool run(std::string fileName);
bool compareFiles(std::string file1Path, std::string file2Path);
void cleanExtras(std::string path);

View File

@@ -13,6 +13,7 @@
#include <fstream>
#include <cstring>
int ssystem(std::string command);
std::string intToString(int theInt);
std::string replaceExEscape(std::string first, std::string search, std::string replace);
std::string strSlice(std::string str, int begin, int end);