[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Tables and lists
- From: Axel Kittenberger <axkibe@...>
- Date: Wed, 5 Jan 2011 14:50:25 +0100
> My logic was that '-' is likewise used as unary prefix, and binary infix, so
> my /hope/ was that the mechanism should be the same for any
> character. It looked quite liberal in the source, seems to work but I am
> not sure. It looked like unaries are protected by a high precedence and
> that might cause unexpected results, haven't mulled that really.
This were my firsts tests. I dont see the modulo function altered.
Maybe in some more wiered conglomerates its changes precedence, but i
doubt it. Ffor most parsers prefix and infix are easy to distinguish,
so without deeper knowledge of the Lua one, I dare say it will be as