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

Re: Now, to try again...

Thread Previous | Thread Next
Simon Cozens
December 17, 2000 04:44
Re: Now, to try again...
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About