On Mon, 15 Sep 2003, Piers Cawley wrote: > Luke Palmer <[EMAIL PROTECTED]> writes: > > > Alex Burr writes: > >> In theory you could write one as a perl6 macro, although it would be > >> more convenient if there was someway of obtaining the syntax tree of a > >> previously defined function other than quoting it (unless I've missed > >> that?). > > > > There is a large class of cool optimizations possible when you combine > > notifications with storing the syntax tree at runtime, so I think it > > will be possible to get the syntax tree of a previously defined > > function. Probably just a method on Code objects. > > I'll be very disappointed if you can't get the syntax tree at > runtime, though I have the feeling that it might require a > compilation switch of some sort.
The syntax tree will be stored by default, though it will be strippable from the bytecode files for space and/or paranoia reasons. Dan