On Thu, Apr 26, 2012 at 10:07 PM, David Nicol <davidnicol@gmail.com> wrote:
> So it appears that the answer is, we can't have functional "if"
> without either switching from a bison grammar with single-token
> lookahead to a more complicated state machine framework with a stack
> and arbitrarily long lookahead, to allow looking past the
> parenthesized condition
Still not good enough.
if ($c) { $x } else { $y } / ...
Is that an "if" statement before a match operator or an "if" expression
before a division operator?
Thread Previous
|
Thread Next