Re: Now, to try again...
[email protected] (Simon Cozens) Sun, 17 Dec 2000 12:43:15 +0000
| Newsgroups | perl.perl6.internals.api.parser |
|---|---|
| Message-ID | <[email protected]> |
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."