diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-10 07:08:07 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-10 07:08:07 -0700 |
commit | cbf8c45bc7e737a849b62d4c2283aae11a3010e1 (patch) | |
tree | 80327ad951250d5966c4480b8fbb38baa8e5129e /txr.1 | |
parent | e046e1890f4655478a99fa7c1cb078eefdc54e00 (diff) | |
download | txr-cbf8c45bc7e737a849b62d4c2283aae11a3010e1.tar.gz txr-cbf8c45bc7e737a849b62d4c2283aae11a3010e1.tar.bz2 txr-cbf8c45bc7e737a849b62d4c2283aae11a3010e1.zip |
Don't scan C source code for Lisp symbols.
* eval.c (eval_init): Register package-alist, package-name
and package-symbols intrinsics.
* genvim.txr: Rather than scanning C sources for TXR Lisp
symbols, iterate over the packages and their symbols,
collecting anything which has a binding or is self-evaluating.
To get the stdlib symbols, we trigger the autoloads by doing
boundp queries on a few symbols.
* txr.1: Document package-alist, package-name and
package-symbols.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -29880,6 +29880,44 @@ then it is returned. Otherwise .code nil is returned. +.coNP Function @ package-alist +.synb +.mets (package-alist) +.syne +.desc +The +.code package-alist +function returns an association list +which contains an entry about each existing +package. + +Each element of the list is a cons cell +whose +.code car +field is the name of a package and whose +.code cdr +is a package object. + +.coNP Function @ package-name +.synb +.mets (package-name << package ) +.syne +.desc +The +.code package-name +function retrieves the name of a package. + +.coNP Function @ package-symbols +.synb +.mets (package-symbols << package ) +.syne +.desc +The +.code package-symbols +function returns a list of all the symbols +which are interned in +.metn package . + .coNP Function @ intern .synb .mets (intern < name <> [ package ]) |