add main file

This commit is contained in:
2026-10-05 21:11:17 +03:00
parent 6d1dfdac58
commit 0b97baca48
3 changed files with 29 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "parser.hpp"
#include "syntaxer.hpp"
int main(int argc, char **argv)
{
if (argc != 2)
{
return 1;
}
std::vector<Expression::Token> tv = Parser::tokenize_input(argv[1]);
Syntax::apply_corrections(tv);
std::vector<Expression::Operation> ov = Syntax::build_op_vector(tv);
}