The library LMLIB;ZVAL has functions, primarily ZMACS commands, to aid in evaluating from within ZMACS and for incrementally testing code as you write it. See the INFO file AI:LMLIB;ZVAL INFO.