gerbil_eval
Evaluate Gerbil Scheme expressions in a live runtime environment. Use module imports to access bindings and return execution results for real-time code testing.
Instructions
Evaluate a Gerbil Scheme expression using gxi and return the result. Use the imports parameter to make module bindings available. Example: expression "(json-object->string (hash ("a" 1)))" with imports [":std/text/json"].
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | The Gerbil Scheme expression to evaluate | |
| imports | No | Module paths to import before evaluation (e.g. [":std/text/json", ":std/iter"]) |