lua-users home
lua-l archive

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


I have modified my local version of Lua to support // comments in addition
to -- comments.  It was a trivial change.

I did this because I and all my peeps are used to // comments from both C++
and our custom scripted event system.

Brian.

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br]On Behalf Of Reuben Thomas
Sent: Wednesday, November 26, 2003 2:14 PM
To: Lua list
Subject: Re: ~= vs. !=


> It's not a big deal, but I'm curious. Is there any intention of
> including '!=' as an alternative to '~='? I was even thinking about
> including that locally myself, but it would be very nice if the standard
> syntax supported it as well.

That and # for comments are the two most annoying things about Lua
(historically I guess there wasn't the consensus about notation we have
today). They could both be introduced as alternatives quite happily
(though my preference would be to see the existing forms deprecated).

--
http://www.mupsych.org/~rrt/ | Caution Children At Play Drive Slowly (Anon)