[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Zero as False
- From: Paige DePol <lual@...>
- Date: Wed, 20 Nov 2013 04:19:42 -0600
> On Nov 20, 2013, at 4:10 AM, Daurnimator <email@example.com> wrote:
> How about -0? (negative 0); you also may want to consider nan.
> In general, I find these sort of modifications fun to experiment with;
> But be careful: please never market your modified language as lua (try to even avoid mentioning it): your users will come to us for help, and we will be very confused.
Good questions, I will look into how those work. Negative zero is an odd thing, isn't it? LOL
I would probably want to make NaN work more like nil, as it is also a non-numeric special case.
Don't worry, I have no plans to market my language as Lua. It identifies itself as "Lunia 1.0 (like Lua 5.2)" at the current moment, which is reasonable as it does have Lua as the core. If I ever get to the point of seriously releasing it with my 3D engine I would make my own mailing lust for Lunia related discussions! ;)