| Description: |
Reads a string and evaluates its content. The resulting objects are
pushed onto the stack.
As in regular batch mode the interpreter reads tokens from a
stream, a string stream in this case, and immediately executes the
incoming language constructs.
An alternative implementation is cvx exec. Here cvx calls cst to
first create an array of token from the string which is then converted
to a procedure.
The function evalstring uses cvx and executs the procedure in a
separate stopped context using the standard error handler.
A similar function to eval also occurs in Python.
|