[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Scripting language takes a silicon turn
- From: Philippe Lhoste <PhiLho@...>
- Date: Tue, 31 Jan 2006 23:23:33 +0100
Alen Ladavac wrote:
From: "Keith Wiles" <kwiles@centurytel.net>
Every time I compile a new Lua I add the support for '!=', my old 'C'
fingers have a hard time to making the change :-( I would love to see '!='
and '~=' get supported as a default feature of the language. Adding '!='
does not add very much code and it sure does make it easier :-)
/me gets out of the shadow
While at it... I didn't bother to check it out yet, but is there a real
syntactical reason why '//' could not be used instead of '--'? (In a custom
version like Keith said above?) Same for if-then-end vs if-{-}, etc.
Yes, and support
#
;
/* */
(* *)
'
REM
comments as well! If we must add flexibility, let's do it in a large
scale and please most of the people coming from other languages...
Also replace .. with + and/or &, allow to use <> in place of ~=, etc.
Seriously, changing syntax to avoid changing habits seems... well, I
won't make any judgement, but I would prefer support for some new
features like a += b or s ..= "foo" or some support for binary operations...
Note: there are already a slew of C-like scripting languages, I wonder
why some people want yet another one...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --