From 173791219c40a20870f69eabccd5b433db591ccb Mon Sep 17 00:00:00 2001 From: JFronny Date: Fri, 20 Jan 2023 22:05:18 +0100 Subject: [PATCH] Typo --- muscript/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muscript/README.md b/muscript/README.md index c1cdefe..4d177e8 100644 --- a/muscript/README.md +++ b/muscript/README.md @@ -80,7 +80,7 @@ To use it, first parse an expression via `Parser.parse(String script)` and conve one by calling `as(Bool|String|Number|Dynamic)Expr`. This process may throw a ParseException. You may also use `Parser.parseScript(String script)` for multi-expression scripts. -You can call `get(Dynamic dataRoot)` on the result to execute the script on the provided data, which should be an +You can call `get(Dynamic dataRoot)` on the result to execute the script on the provided data, which should be a `Scope` on which you called `StandardLib.addTo()` to add standard methods. This is also where you can add custom data to be accessed by your script. The execution of a script can throw a LocationalException which may be converted to a LocationalError for printing