Implemented _trim()

This commit is contained in:
2023-01-29 08:30:31 +00:00
parent 2c5e3c6aa5
commit a357e0b0d4
5 changed files with 156 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
#include "repl_tools.h"
#include "lib_compound.h"
#include "lib_standard.h"
#include "lib_timer.h"
#include "lib_runner.h"
@@ -26,6 +27,7 @@ void repl() {
Toy_initInterpreter(&interpreter);
//inject the libs
Toy_injectNativeHook(&interpreter, "compound", Toy_hookCompound);
Toy_injectNativeHook(&interpreter, "standard", Toy_hookStandard);
Toy_injectNativeHook(&interpreter, "timer", Toy_hookTimer);
Toy_injectNativeHook(&interpreter, "runner", Toy_hookRunner);