Create REPL module

This commit is contained in:
2025-08-10 17:26:46 +01:00
parent 5c585ad35c
commit 9df53c63c5
3 changed files with 75 additions and 0 deletions

16
lib/include/repl.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef REPL_H
#define REPL_H
#include "am.h"
#define REPL_IO_BUFFER_SIZE 256U
typedef struct {
am_t am;
char io_buffer[REPL_IO_BUFFER_SIZE];
} repl_t;
void repl_init(repl_t *repl);
int repl_run(repl_t *repl);
#endif