-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
24 lines (21 loc) · 694 Bytes
/
Copy pathmain.cpp
File metadata and controls
24 lines (21 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// #include "parser.h"
#include "evaluator.h"
#include "repl.h"
using namespace std;
int main(int argc, char** argv){
printf("interp running\n");
// lexer::test_next_token();
repl::start();
// parser::test_let_statements();
// parser::test_ret_statements();
// parser::test_string();
// parser::test_identifier_expression();
// parser::test_integer_literal_expression();
// parser::test_parsing_prefix_expression();
// parser::test_parsing_infix_expression();
// parser::test_operator_precedence_parsing();
// parser::test_if_expression();
// parser::test_call_expression();
// eval::test_eval_integer_expression();
return 0;
}