summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/com.c b/com.c
index f7c7f2d..dc458f9 100644
--- a/com.c
+++ b/com.c
@@ -42,9 +42,6 @@ static void compile_node(Chunk *ch, AstNode a) {
}
-
-
-
int main() {
Chunk ch = chunk_new();
AstNode an = read();
@@ -53,18 +50,6 @@ int main() {
chunk_wbc(&ch, OP_PRINT);
chunk_wbc(&ch, OP_RET);
-
- // chunk_wbc(&ch, OP_LOADK);
- // chunk_wbc(&ch, chunk_wconst(&ch, VAL_NUM(5.0)));
- // chunk_wbc(&ch, OP_LOADK);
- // chunk_wbc(&ch, chunk_wconst(&ch, VAL_NUM(10.0)));
- // chunk_wbc(&ch, OP_LOADK);
- // chunk_wbc(&ch, chunk_wconst(&ch, VAL_NUM(2.0)));
- // chunk_wbc(&ch, OP_MUL);
- // chunk_wbc(&ch, OP_ADD);
- // chunk_wbc(&ch, OP_PRINT);
- // chunk_wbc(&ch, OP_RET);
-
runvm(&ch);
}