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