diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-07-27 19:03:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-07-27 19:03:48 -0700 |
commit | 9fd7b65bfbc670dbfb14d7b46061e48d603dd98c (patch) | |
tree | 5b24ca7d53b4444622ca3a4ede8d76971c8ba497 /tests/008/configfile.txr | |
parent | 93661b30a25cce377935e61a6a330fa6c761fdd3 (diff) | |
download | txr-9fd7b65bfbc670dbfb14d7b46061e48d603dd98c.tar.gz txr-9fd7b65bfbc670dbfb14d7b46061e48d603dd98c.tar.bz2 txr-9fd7b65bfbc670dbfb14d7b46061e48d603dd98c.zip |
New functions and fixes in lexical introspection.
* evalc (macro_k): New keyword symbol variable.
(lexical_binding_kind, lexical_fun_binding_kind)
New functions.
(lexical_var_p): Bugfix: if the symbol is a special
variable, do not short-circuit to a nil answer.
Special variables can be shadowed by symbol macros.
The function is now defined in terms of lexical_binding_kind.
(lexical_symacro_p, lexical_macro_p): New
functions.
(lexical_fun_p): Now defined using lexical_fun_binding_kind.
(lexical_lisp1_binding): Bugfix: check for special
variables; do not report special variables as :var.
(eval_init): Initialize macro_k. Register new intrinsics:
lexical-binding-kind, lexical-fun-binding-kind,
lexical-symacro-p, lexical-macro-p.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'tests/008/configfile.txr')
0 files changed, 0 insertions, 0 deletions