From 89dd090d5d19334f5c8d6115b626df5e7d4e3e87 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 21 Jan 2023 15:28:16 +1100 Subject: [PATCH] Added loadScriptBytecode() docs --- runner-library.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/runner-library.md b/runner-library.md index 2df810f..1b3bea4 100644 --- a/runner-library.md +++ b/runner-library.md @@ -53,7 +53,15 @@ This function does a lot of work: ## loadScriptBytecode(path: string) -*Not Yet Implemented* +This is used to load an external bytecode file into an opaque variable. + +This function does a lot of work: + +* It validates the file path using the drive syntax (see above) +* It constructs and intializes an Interpreter +* It packages it all into an opaque variable and returns it + +Note: This function resembles `loadScript()`, but skips the compilation step. ## _runScript(self: opaque)