Implemented native C functions called from Toy scripts

There's only example functions for now, but I'll add type-specific
functions later.
This commit is contained in:
2026-04-16 21:14:42 +10:00
parent 3a0f11ebb4
commit 88100b128a
8 changed files with 93 additions and 4 deletions

5
repl/standard_library.h Normal file
View File

@@ -0,0 +1,5 @@
#pragma once
#include "toy_vm.h"
void initStandardLibrary(Toy_VM*);