better inner and anonymous function names
authorNikodemus Siivola <nikodemus@sb-studio.net>
Tue, 9 Aug 2011 16:05:42 +0000 (19:05 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 19 Nov 2011 17:00:09 +0000 (19:00 +0200)
commit2050b7c3644ab235aaf1959795bb33e89bd571a3
treeb083ee9ba5fb92ef6d917ebf0d82f5ce68903006
parentd0d44ccf079f6ecaadea0616c85d733181634001
better inner and anonymous function names

 * New concept: "name context". It is either name of the outermost non-NIL
   block in the current lexenv (FIXME: would be better to have the outermost
   global function name instead) or the source-namestring of the file in which
   the function resides.

 * Name anonymous functions as

    (LAMBDA <lambda-list> :IN <context>)

 * Name FLET and LABELS functions as

    (FLET <name> :IN <context>)

   and

    (LABELS <name> :IN <context>)

   Adjust tests to suit.

 * Remove BLOCK-GENSYM as this fulfills the same goals, and together
   they make backtraces overly noisy.
NEWS
src/code/pprint.lisp
src/code/primordial-extensions.lisp
src/code/print.lisp
src/compiler/early-c.lisp
src/compiler/ir1-translators.lisp
src/compiler/x86-64/macros.lisp
src/compiler/x86/macros.lisp
tests/debug.impure.lisp
tests/unwind-to-frame-and-call.impure.lisp