Parser is held together by duck-tape and a wish

This commit is contained in:
Pasha Bibko
2025-04-17 14:47:19 +01:00
parent e1fce699da
commit 3017e70631
6 changed files with 216 additions and 33 deletions

View File

@@ -52,6 +52,9 @@ int main(int argc, char** argv)
// Create tokens out of the input file
std::vector<LX::Token>tokens = LX::LexicalAnalyze(inpFile, log.get());
// Turns the tokens into an AST
LX::FileAST AST = LX::TurnTokensIntoAbstractSyntaxTree(tokens, log.get());
}
catch (LX::IncorrectCommandLineArgs)