Fixed an non-optimized grouping bug

This commit is contained in:
2022-08-07 16:46:54 +01:00
parent 072d9c59cc
commit 3b89e216cc
5 changed files with 19 additions and 3 deletions

View File

@@ -133,6 +133,12 @@ void repl() {
int size = 0;
char* tb = collateCompiler(&compiler, &size);
// for (int i = 0; i < size; i++) {
// printf("%d ", tb[i]);
// }
// printf("\n");
//run the bytecode
initInterpreter(&interpreter, tb, size);
runInterpreter(&interpreter);