[perl #51560] [PCT] interactive mode doesn't save lexicals correctly
Will Coleda via RT
parrotbug-followup at parrotcode.org
Thu Nov 5 05:39:18 UTC 2009
On Tue Apr 08 18:34:38 2008, pmichaud wrote:
> On Sun, Mar 09, 2008 at 04:17:51PM -0400, Bob Rogers wrote:
> > From: Klaas-Jan Stol (via RT) <parrotbug-followup at parrotcode.org>
> > : when running a language in interactive mode, and you declare a local
> > : variable, then this local variable cannot be accessed afterwards.
> > That's it exactly. A general solution would be:
> > [...]
> > IMHO, this is a lot of trouble for a top-level read/eval/print loop.
> > On the other hand, evaluating HLL expressions in context is a key
> > feature of debuggers, so it will need to be done sooner or later.
> Just adding my nickel that I agree with Bob on this point --
> it's a lot of trouble at the moment which is why we haven't
> done much about it yet. I'm expecting that at some point we'll
> tweak PCT (and possibly Parrot's) handling of lexical variables,
> and we can potentialy revisit it then.
> In particular, we may need the capability for a sub to poke
> new entries into another (caller's) LexPad.
> In the meantime I'm marking the ticket as "stalled".
Ticket migrated to https://trac.parrot.org/parrot/ticket/1198; followups there.
Will "Coke" Coleda
More information about the parrot-dev