diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-06 22:20:53 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-06 22:20:53 +0100 |
commit | a4e8599e8d0fde881cd4e6e3031e5b52550e878e (patch) | |
tree | 41f455835a76442eb2442754f5d4fd15c915f721 /com.c | |
parent | e4a7b6c397c430e3aa5f6fec63eeb91236069c27 (diff) |
remove ast and peg parser
Diffstat (limited to 'com.c')
-rw-r--r-- | com.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -6,7 +6,6 @@ #include "com.h" #include "mem.h" #include "chunk.h" -#include "ast.h" #include "util.h" #include "prs.h" #include "lib.h" @@ -697,7 +696,6 @@ int main(int argc, char **argv) { exit(1); } - fread(buf, 1, 8192, infile); buf[8192] = '\0'; ObjArr *top = read_exprs(S, buf); @@ -706,11 +704,6 @@ int main(int argc, char **argv) { println_val(VAL_OBJ(top)); cpl_body(&com, top, 0, 0); - - - // pcc_destroy(parser); - // compile_body(&com, top.as.list, 0, 0); - // astnode_free(&top); } |