aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 6a683a7..cf4bfa4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -8,6 +8,7 @@
8#include "errors.c" 8#include "errors.c"
9#include "lexer.c" 9#include "lexer.c"
10#include "parser.c" 10#include "parser.c"
11#include "compiler.h"
11 12
12void 13void
13init(void) { 14init(void) {
@@ -41,9 +42,10 @@ process_source(const StringView *source, const char *file_name) {
41 } 42 }
42 array_free(tokens); 43 array_free(tokens);
43 44
44 // TODO: Semantic analysis.
45 // TODO: Optimization. 45 // TODO: Optimization.
46 // TODO: Compilation. 46
47 // Compilation.
48 compile(roots);
47 49
48 // Free resources. 50 // Free resources.
49 free_objects(); 51 free_objects();