Thread View: perl.perl6.internals.api.parser
1 messages
1 total messages
Started by Dan Sugalski
Wed, 17 Jan 2001 18:02
Re: Support for interactive interpreters...
Author: Dan Sugalski
Date: Wed, 17 Jan 2001 18:02
Date: Wed, 17 Jan 2001 18:02
24 lines
2391 bytes
2391 bytes
At 11:03 AM 1/17/01 -0200, Branden wrote:
>Hi.
>
>I'm actually not following this list from close and I searching the archives
>isn't that easy yet, so pardon me if this was already brought up.
As Simon's pointed out, there's an RFC for this already.
It's actually not that tough to do now with eval, with two problems:
*) Eval won't extend scope, so each statement you execute stands alone. (So
lexicals go missing immediately)
*) Figuring out where a statement ends is a pain--you'd want to read to the
end of a block for example before executing it.
I'd personally like to provide a scopeless string eval, and the second
issue's a SMOP. (Though involving the parser on the fly would make it easier)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads