lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Mar 8, 2013 at 11:45 AM, Scott Morgan <blumf@blueyonder.co.uk> wrote:
> On 08/03/13 13:01, Jorge wrote:
>>
>> I think it's simpler to have *only* binary operators, nand and nor.
>
>
> Hum...
>
> local v = optional or default
>
> becomes
>
> local v = (optional nor optional) nor (default nor default)
>
> or maybe just
>
> local v = not optional nor not default
>
> I think... :)
>
> Scott
>
>

Well, all you really need is one instruction:
https://en.wikipedia.org/wiki/One_instruction_set_computer

-- 
Sent from my Game Boy.