io library file creation

This commit is contained in:
Add00
2023-08-02 22:19:09 -04:00
parent 9b469e6eb0
commit 36b4a494ae
6 changed files with 26 additions and 0 deletions

14
repl/lib_io.c Normal file
View File

@@ -0,0 +1,14 @@
#include "lib_io.h"
#include <stdio.h>
//call the hook
typedef struct Natives {
char* name;
Toy_NativeFn fn;
} Natives;
int Toy_hookIO(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_Literal alias) {
return 1;
}