eval - evaluate a string of SLI code
string eval -> obj1 ... objn
(1 2 add) eval --> 3
([1 2 3] /peter 5 def) eval --> [1 2 3]
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.
A similar function to eval also occurs in Python.
Jochen M. Eppler
June 2013
/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/typeinit.sli