Move REPL logic into application

This commit is contained in:
2024-10-24 22:17:19 +01:00
parent acb4cd38d7
commit b44bd100ca
4 changed files with 28 additions and 54 deletions

View File

@@ -1,16 +0,0 @@
#ifndef REPL_H
#define REPL_H
#include "memory_pool.h"
#define REPL_BUFFER_SIZE 128
typedef struct {
memory_pool_t pool;
char buffer[REPL_BUFFER_SIZE];
} repl_t;
bool step_repl(repl_t *repl);
void run_repl(repl_t *repl);
#endif