develooper Front page | perl.perl5.porters | Postings from April 2012

Re: proposal: functional C<if>

Thread Previous | Thread Next
From:
Zefram
Date:
April 27, 2012 10:09
Subject:
Re: proposal: functional C<if>
Message ID:
20120427170938.GE4237@lake.fysh.org
David Nicol wrote:
>How about the approach of launching a new yyparse instance at

Can't do it that way.  Aside from the superficial problem of rewinding the
lexer (difficult enough to do by one token, which I've done in places),
there's the fundamental problem that parsing an expression can have
side effects.  BEGIN{} blocks again.

-zefram

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