diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-02-17 20:10:47 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-02-17 20:10:47 -0800 |
commit | b08041e3593ee857b33043140a7bfd00bedc4546 (patch) | |
tree | e4b44d1857f52585021447ffe65ec6e1068e58ca /protsym.c | |
parent | 4c8dfaaf842db7c8e34d34b83d9cf38627f120da (diff) | |
download | txr-b08041e3593ee857b33043140a7bfd00bedc4546.tar.gz txr-b08041e3593ee857b33043140a7bfd00bedc4546.tar.bz2 txr-b08041e3593ee857b33043140a7bfd00bedc4546.zip |
New listener feature: greedy evaluation feature.
* eval.c (eval_intrinsic_noerr): New function.
* eval.h (eval_intrinsic_noerr): Declared.
* parser.c (listener_greedy_eval_s): New symbol variable.
(repl): Implement greedy evaluation loop, enabled by
the *listener-greedy-eval-p* special.
(parse_init): Intern the *listener-greedy-eval-p* symbol,
storing it in the listener_greedy_eval_s variable.
Register the symbol as a special variable.
* txr.1: Documented *listener-greedy-eval-p* variable
and the greedy evaluation feature that it controls.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions