Re: A bit of food for thought, hopefully. Was Re: Ambiguous Syntax
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: A bit of food for thought, hopefully. Was Re: Ambiguous Syntax
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2003年1月14日 22:39:09 -0200
>That doesn't work because + is not unambiguously unary. So:
>
> a = f
> +(b or c)(g)
>
>is still ambiguous. In any event, I find the use of + as an identity
>operator a bit irritating, for some reason. Maybe it's my anti-Perl bias. I
>prefer + to be unambiguously binary.
That's what it is in Lua: there's no unary +. There's a unary -, though.
--lhf