mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-17 15:54:07 +10:00
Library rename, added HAL, added open function
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
#include "lib_standard.h"
|
||||
#include "lib_random.h"
|
||||
#include "lib_runner.h"
|
||||
#include "lib_fileio.h"
|
||||
#include "lib_math.h"
|
||||
#include "lib_io.h"
|
||||
|
||||
#include "toy_console_colors.h"
|
||||
|
||||
@@ -32,8 +32,8 @@ void repl(const char* initialInput) {
|
||||
Toy_injectNativeHook(&interpreter, "standard", Toy_hookStandard);
|
||||
Toy_injectNativeHook(&interpreter, "random", Toy_hookRandom);
|
||||
Toy_injectNativeHook(&interpreter, "runner", Toy_hookRunner);
|
||||
Toy_injectNativeHook(&interpreter, "fileio", Toy_hookFileIO);
|
||||
Toy_injectNativeHook(&interpreter, "math", Toy_hookMath);
|
||||
Toy_injectNativeHook(&interpreter, "io", Toy_hookIO);
|
||||
|
||||
for(;;) {
|
||||
if (!initialInput) {
|
||||
|
||||
Reference in New Issue
Block a user