docs: spelling mistakes correction

This commit is contained in:
Julien Higginson
2025-01-11 14:22:55 +01:00
parent 575003433f
commit f0e8bfeb02
30 changed files with 201 additions and 175 deletions

View File

@@ -1,3 +1,4 @@
# Runner Library
The runner library is used to execute one script from inside another. It also has functions that allow you to retrieve variables from the other script.
@@ -21,7 +22,7 @@ This function does a lot of work:
* It validates the file path using the drive syntax
* It reads in the source code of the script file
* It compiles the source script into bytecode
* It constructs and intializes an Interpreter
* It constructs and initializes an Interpreter
* It packages it all into an opaque variable and returns it
### loadScriptBytecode(path: string): opaque
@@ -31,7 +32,7 @@ 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
* It constructs and intializes an Interpreter
* It constructs and initializes an Interpreter
* It packages it all into an opaque variable and returns it
Note: This function resembles `loadScript()`, but skips the compilation step.
@@ -58,4 +59,4 @@ This function frees a script's resources, cleaning up any memory that is no long
### checkScriptDirty(self: opaque): bool
This function returns true of the script is "dirty", otherwise it returns false.
This function returns true if the script is "dirty", otherwise it returns false.