terse_eval
Evaluate Terse source code with a tree-walking interpreter to get JSON-safe results and captured print output, expanding session aliases before execution.
Instructions
Evaluate Terse source with the tree-walking interpreter. Returns the result value (JSON-safe) and captured print output lines. Session $aliases (see terse_alias_define) are expanded before evaluation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gas | No | Evaluation gas limit (default 100000). | |
| source | Yes | Terse source code to evaluate. |