Forgot to remove this one
This commit is contained in:
parent
770d9d56ff
commit
75ad08dae1
|
@ -1,4 +1,3 @@
|
||||||
#include "../../assembler.h"
|
|
||||||
#include "../../test.h"
|
#include "../../test.h"
|
||||||
#include "../../vm.h"
|
#include "../../vm.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
@ -52,17 +51,7 @@ void compileFile(const char *path, VM *vm) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool test_fibonacci(VM *vm) {
|
|
||||||
Assembler zasm;
|
|
||||||
|
|
||||||
while (step_vm(vm));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void repl(VM *vm) {
|
void repl(VM *vm) {
|
||||||
|
|
||||||
test_fibonacci(vm);
|
|
||||||
|
|
||||||
char line[1024];
|
char line[1024];
|
||||||
for (;;) {
|
for (;;) {
|
||||||
printf("> ");
|
printf("> ");
|
||||||
|
|
Loading…
Reference in New Issue