Merge branch 'LLVM-Test'

This commit is contained in:
Pasha Bibko
2025-04-20 19:32:56 +01:00
16 changed files with 397 additions and 103 deletions

View File

@@ -53,6 +53,13 @@ int main(int argc, char** argv)
// Create tokens out of the input file
std::vector<LX::Token>tokens = LX::LexicalAnalyze(inpFile, log.get());
// Saves the log //
if (log != nullptr)
{
log->close();
//log->open(argv[3]);
}
// Turns the tokens into an AST
LX::FileAST AST = LX::TurnTokensIntoAbstractSyntaxTree(tokens, log.get());