add main file
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user