15 lines
290 B
C++
15 lines
290 B
C++
#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);
|
||
|
|
}
|