mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Parser is held together by duck-tape and a wish
This commit is contained in:
3
Main.cpp
3
Main.cpp
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user