🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.perl6.internals.api.parser
Article #1

Re: Support for interactive interpreters...

#1
From: Dan Sugalski
Date: Wed, 17 Jan 2001 18:02
24 lines
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
Technical Details
Message-ID: <5.0.2.1.0.20010117124955.0228bec0@24.8.96.48>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org
References: <OE23NQptgFrYILoygXL000004b6@hotmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <5.0.2.1.0.20010117124955.0228bec0@24.8.96.48>
Subject: Re: Support for interactive interpreters...
Date: Wed, 17 Jan 2001 13:02:21 -0500
From: dan@sidhe.org (Dan Sugalski)
References: <OE23NQptgFrYILoygXL000004b6@hotmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org
Newsgroups: perl.perl6.internals.api.parser
Return-Path: <dan@sidhe.org>
Mailing-List: contact perl6-internals-api-parser-help@perl.org; run by ezmlm
Delivered-To: mailing list perl6-internals-api-parser@perl.org
Received: (qmail 9837 invoked from network); 17 Jan 2001 18:03:52 -0000
Received: from c375238-a.brstl1.ct.home.com (HELO tuatha.sidhe.org) (root@24.8.96.48)
Received: from solano.nimbus.northernlight.com (solano.northernlight.com [205.181.75.66])
 by tuatha.sidhe.org (8.9.3/8.8.7) with SMTP id NAA18370;
Received: from hemloite.nimbus.northernlight.com by solano.nimbus.northernlight.com
X-Sender: dan@24.8.96.48
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
To: "Branden" <branden_p6@hotmail.com>, <perl6-internals-api-parser@perl.org>
In-Reply-To: <OE23NQptgFrYILoygXL000004b6@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Approved: news@nntp.perl.org