summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-08-01 22:37:26 +0100
committerubq323 <ubq323@ubq323.website>2023-08-01 22:37:26 +0100
commit9e555bc2bf618148929e52ccd0efdb1b752bdcac (patch)
tree5e6f01123d795624c0093df6e08307be2b2c8cd0 /read.c
parent24fb17017e9d6238488c9827da0ee6d0f4f84356 (diff)
compilation of basic arithmetic exprs to bytecode
Diffstat (limited to 'read.c')
-rw-r--r--read.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/read.c b/read.c
index 5620607..016ef62 100644
--- a/read.c
+++ b/read.c
@@ -2,7 +2,6 @@
#include <stdio.h>
#include "read.h"
-#include "run.h"
AstNode read() {
AstNode ret;
@@ -13,8 +12,3 @@ AstNode read() {
return ret;
}
-int main() {
- Ht e = ht_new();
- for (;;) printf("%d\n",eval(&e, read()));
-}
-