Module starlark::eval::interactive

source ·
Expand description

Defines very basic versions of the evaluation functions that are suitable for interactive use: they output diagnostic to stderr and the result value to stdout.

Functions

Evaluate a string content, mutate the environment accordingly and print the value of the last statement (if not None) or the error diagnostic.
Evaluate a file, mutate the environment accordingly and print the value of the last statement (if not None) or the error diagnostic.