Re: Blocks, continuations and eval()

2005-04-08 Thread wolverian
On Fri, Apr 08, 2005 at 12:18:45PM -0400, MrJoltCola wrote: > I cannot say how much Perl6 will expose to the high level language. That is what I'm wondering about. I'm sorry I was so unclear. > Can you tell me what your idea of a "scope" is? I'm thinking a > continuation, and if that is what you

Re: Blocks, continuations and eval()

2005-04-08 Thread wolverian
On Fri, Apr 08, 2005 at 08:35:30AM -0700, David Storrs wrote: > I'm unclear on what you're looking for. Are you trying to get a way > to do interactive coding in P6? Or the ability to "freeze" a scope > and execute it later? Or something else? Neither in itself. I'm looking for a way to refer t

Re: Blocks, continuations and eval()

2005-04-08 Thread MrJoltCola
At 10:03 AM 4/8/2005, wolverian wrote: To get to the real topic: In Perl 6, the generic solution to fix this (if one wants to fix it) seems, to me, to be to add a .eval method to objects that represent scopes. I'm not sure if scopes are first class values in Perl 6. Are they? How do you get the cur

Re: Blocks, continuations and eval()

2005-04-08 Thread David Storrs
On Fri, Apr 08, 2005 at 05:03:11PM +0300, wolverian wrote: Hi wolverian, > one day a friend asked if Perl 5 had a REPL facility. > (Read-Eval-Print-Loop). I told him it has perl -de0, which is different > [...] > In Perl 6, the generic solution to fix this (if one wants to fix it) > seems, to me,

Re: [PATCH] apo/A05.pod: spelling error

2005-04-08 Thread Patrick R. Michaud
On Thu, Apr 07, 2005 at 11:13:42PM +0200, Steven Schubiger wrote: > Attached is a patch that fixes a minor spelling error > in apocalypse 5. Applied, thanks! Pm

Blocks, continuations and eval()

2005-04-08 Thread wolverian
Hi, (I'm sorry if this topic has already been discussed.) one day a friend asked if Perl 5 had a REPL facility. (Read-Eval-Print-Loop). I told him it has perl -de0, which is different in that it does not preserve the lexical scope across evaluated lines. This is because eval STRING creates its ow

[PATCH] apo/A05.pod: spelling error

2005-04-08 Thread Steven Schubiger
Attached is a patch that fixes a minor spelling error in apocalypse 5. Steven --- A05.pod.origThu Apr 7 22:59:16 2005 +++ A05.pod Thu Apr 7 22:59:56 2005 @@ -2179,7 +2179,7 @@ tree of objects. Matching against such boundaries or metadata would not be possible -unless eth