Adding support for windows and fixing some errors

This commit is contained in:
Ilusha 2024-01-15 16:35:16 -08:00 committed by Ilya Shurupov
parent 7660d58f26
commit 420bb37039
84 changed files with 168 additions and 255 deletions

View file

@ -1,6 +1,4 @@
#include "NewPlacement.hpp"
#include "CommandLine.hpp"
#include "Parser.hpp"
@ -81,4 +79,4 @@ int main(int argc, const char* argv[]) {
testModule.deinitialize();
return 0;
}
}

View file

@ -1,5 +1,4 @@
#include "CLR.hpp"
#include "NewPlacement.hpp"
using namespace tp;
@ -17,4 +16,4 @@ void CLR::setTerminal(const String& name, TerminalStream::TerminalID id) {}
void CLR::build() {}
void CLR::parse(TerminalStream* source, List<ASTNode>& out, ASTNode** root) { *root = nullptr; }
void CLR::parse(TerminalStream* source, List<ASTNode>& out, ASTNode** root) { *root = nullptr; }

View file

@ -1,6 +1,5 @@
#include "CfGrammar.hpp"
#include "NewPlacement.hpp"
#include "Timing.hpp"
@ -159,4 +158,4 @@ bool CfGrammar::compile() {
}
return true;
}
}

View file

@ -1,6 +1,4 @@
#include "NewPlacement.hpp"
#include "CfGrammar.hpp"
#include "Tokenizer.hpp"

View file

@ -1,6 +1,4 @@
#include "Parser.hpp"
#include "NewPlacement.hpp"
#include "Tokenizer.hpp"
using namespace tp;

View file

@ -1,5 +1,4 @@
#include "NewPlacement.hpp"
#include "Parser.hpp"
#include "Testing.hpp"
@ -7,4 +6,4 @@ using namespace tp;
TEST_DEF(CLR) {
// TEST(false);
}
}

View file

@ -1,5 +1,4 @@
#include "NewPlacement.hpp"
#include "Parser.hpp"
#include "Testing.hpp"
@ -46,4 +45,4 @@ List : [ LIST ];
printf("Example sentences formed from grammar: \n");
for (auto sentence : sentences)
tp::CfGrammar::printSentence(sentence.data());
}
}

View file

@ -1,5 +1,4 @@
#include "NewPlacement.hpp"
#include "Parser.hpp"
#include "Testing.hpp"
@ -21,4 +20,4 @@ int main(int argc, const char* argv[]) {
testModule.deinitialize();
return 0;
}
}