diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-14 01:43:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-14 01:43:13 -0700 |
commit | 29f314829fef594a90f7fe9c3152023f144af90a (patch) | |
tree | 58a0fd1540e01164df4c11825562fd36faab5d80 /stdlib/doc-syms.tl | |
parent | 224bfc16df6bd90e2c8403a7f20b658dca5833ea (diff) | |
download | txr-29f314829fef594a90f7fe9c3152023f144af90a.tar.gz txr-29f314829fef594a90f7fe9c3152023f144af90a.tar.bz2 txr-29f314829fef594a90f7fe9c3152023f144af90a.zip |
listener: auto compound expression mode.
* parser.c (listener_auto_compound_s): New symbol variable.
(repl): If *listener-auto-compound-p* is true, then evaluate
multiple forms directly as a compound expression, without
inserting progn at the head.
(parse_init): Initialize symbol variable and register
the *listener-auto-compound-p* special.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/doc-syms.tl')
-rw-r--r-- | stdlib/doc-syms.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index d1f31708..42f92032 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -14,6 +14,7 @@ ("*filters*" "N-00E6A902") ("*gensym-counter*" "N-0387B1B1") ("*hash-seed*" "N-0041D85A") + ("*listener-auto-compound-p*" "N-03717672") ("*listener-greedy-eval-p*" "N-002B819C") ("*listener-hist-len*" "N-007B676F") ("*listener-multi-line-p*" "N-02C5CACF") |