summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-12 15:14:24 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-12 15:14:24 +0200
commit32babee5145bb0248566960a69b674484deb3f94 (patch)
tree8180b6a10b0c8b20bacd4d63bebe4fd731014f75 /main.c
parentce7bc08b1db6011a82b27dbccf4e5502b948a820 (diff)
fixes
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4b39f66..690b6d9 100644
--- a/main.c
+++ b/main.c
@@ -4,7 +4,7 @@
#include <string.h>
#include "lex.h"
-
+#include "parse.h"
int main() {
char* line;
@@ -13,6 +13,7 @@ int main() {
if (line[0] == '\0') continue;
if (strcmp(line, "exit") == 0) exit(0);
LexResult res = lex(line);
+ Pipeline pl = parse_tokstream(res.top_tokens);
printf("%s \n", line);
}