-
- Downloads
Added a cross-referencing facility to the compiler.
The new XREF package exports function WHO-CALLS, WHO-REFERENCES, WHO-BINDS and WHO-SETS. These return structures of type XREF-CONTEXT, which contain the name of the referencing context, the file it was referenced from (or NIL when compiling from the toplevel), and the source-position in that file. Also change the names of lambda nodes in IR1 for macros and compiler-macros to be lists of the form (:macro macro-name) (:compiler-macro macro-name) instead of strings of the form "DEFMACRO MACRO-NAME". Documentation has been added to the User's Manual. This change shouldn't cause any bootstrapping problems when building.
Showing
- code/exports.lisp 17 additions, 1 deletioncode/exports.lisp
- compiler/ir1tran.lisp 3 additions, 6 deletionscompiler/ir1tran.lisp
- compiler/loadcom.lisp 2 additions, 1 deletioncompiler/loadcom.lisp
- compiler/main.lisp 14 additions, 6 deletionscompiler/main.lisp
- tools/comcom.lisp 6 additions, 3 deletionstools/comcom.lisp
Loading
Please register or sign in to comment