lua-users home
lua-l archive

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

On 08/02/2013 14:25, sergei karhof wrote:
On Thu, Feb 7, 2013 at 8:57 PM, Robert Virding

So to get a ~ you need to press ~ then SPACE. It takes a bit of getting used to.

Not just that. The problem is that some keyboards do not have the ~ key at all.

It would be helpful if Lua users were allowed to use at least != as an
alternative. Remapping the keyboard is always possible, but it's an
unwanted complication, which may turn out to be problematic with other
programs on your system. Likewise, modifying the Lua source files and
recompiling the lot is a cumbersome solution, which may also lead to
other problems.

I wonder how many of us would prefer to have != instead of ~=. Probably many.

Appeal to Lua developers: is there any chance of at least adding != as
an alternative in the next release?

Let's Lua support trigraphs like in C!
So, if you cannot type ~=, just type ??-=

Alternatively, let it support literal Unicode characters in the source, like Java.
So ~= can be typed \u007E=
(it can bring some issues of its own...)

These forms are ugly enough to discourage any further requests...

Philippe Lhoste
--  (near) Paris -- France
--  --  --  --  --  --  --  --  --  --  --  --  --  --