Re: [PATCH] Implement `capture-lexical-environment' in evaluator

2011-12-14 Thread Mark H Weaver
Another note: I realize that I shouldn't use `expand-top-sequence' to restart the expander within a local lexical environment. At first glance, I guess I should be using `expand' instead. Another possibility: if the (capture-lexical-environment) was found within a body or sequence where local def

Re: [PATCH] Implement `capture-lexical-environment' in evaluator

2011-12-14 Thread David Kastrup
Mark H Weaver writes: > This is a _preliminary_ patch. In particular: > > * The compiler does not yet handle (capture-lexical-environment) > (which uses a new tree-il type). > > * The lexical environment object is currently non-opaque list structure. > > * I deliberately avoided reindenting ev