develooper Front page | perl.perl6.internals.api.parser | Postings from December 2000

Re: Now, to try again...

Thread Previous | Thread Next
From:
Simon Cozens
Date:
December 17, 2000 04:44
Subject:
Re: Now, to try again...
Message ID:
20001217124315.A4135@deep-dark-truthful-mirror.perlhacker.org
On Sun, Dec 17, 2000 at 01:20:07AM +0000, Nicholas Clark wrote:
> I'm assuming we're all sort of thinking that input is certainly
> [good stuff]
> 
> I don't think you can do that with eval in perl5, can you?
> If not, it represents something new the parser will have to be able to
> communicate with the outside world.
 
You can't, but it's a simple matter of trapping end-of-source in the parser.
(Look for "case 0" in toke.c)

-- 
"He was a modest, good-humored boy.  It was Oxford that made him insufferable."

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About