wiki/introspect.lisp
The package name written in an IN-PACKAGE form: #:foo, :foo, "foo", foo.
Every (package-name . symbol-name) that appears as the first element of a
list in source-files, resolved against each file's IN-PACKAGE for
unprefixed symbols; keywords and unknown packages are left out.
Turn a lambda list into readable data: symbols become their names, lambda-list keywords keywords, other atoms strings; lists are kept.
A plist describing symbol as an operator, or NIL if it is not one.
An alist ((home-package . name) . facts) for every operator of
source-files whose symbol exists and is fbound in this image, each symbol
once under its home package.
Write the gathered facts to pathname as one readable form per operator.
(source-files)Every (package-name . symbol-name) that appears as the first element of a list in SOURCE-FILES, resolved against each file's IN-PACKAGE for unprefixed symbols; keywords and unknown packages are left out.
Logical conjunction of tests and raw truth values.
Anything in a stylesheet: a declaration, rule, at-rule, or style group.
A parenthesized list; CHILDREN are nodes in order.
A symbol token; nothing is interned.
Logical negation of one test or raw truth value.
A quote-like prefix applied to one form.
A #+ or #- guarded form.
(tree)Turn a lambda list into readable data: symbols become their names, lambda-list keywords keywords, other atoms strings; lists are kept.
(symbol)(source-files)An alist ((home-package . name) . facts) for every operator of SOURCE-FILES whose symbol exists and is fbound in this image, each symbol once under its home package.
Test whether two compatible scalars are equal.
(source-files pathname)
Gathering real lambda lists for the operators the corpus uses.
The dexp renderer draws a form according to a layout. For the long tail of operators, luv's own macros above all, the honest source of layout is the operator's real lambda list: what precedes &BODY is the head, a destructuring pattern in a position means a clause there, &KEY marks where keyword pairs begin. This file gathers those facts from a Lisp image in which the systems are loaded, the way SLY's slynk-indentation derives indentation from macro arglists, and writes them to wiki/arglists.sexp so the site can be rendered without loading luv.