[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to support '//' as lua's one line comment identifier?
- From: Axel Kittenberger <axkibe@...>
- Date: Fri, 21 Jan 2011 09:40:56 +0100
Making a dialect can be worthwhile, if there is a real reason to.
(like a continue patch). But for such a petty detail like the format
of the comments its really just asking for troubles without getting
anything in return.
If you absoletly have to be unflexible, just run the source through
the c-preprocessor before executing. It will remove all // and /* */
On Fri, Jan 21, 2011 at 9:21 AM, steve donovan
> On Fri, Jan 21, 2011 at 10:12 AM, Tang Daogang <firstname.lastname@example.org> wrote:
>> as those, only the '~=' is an abrupt symbol.
> It does take a little while for the fingers to learn, but at least
> such a mistake only causes a compile error.
> As Alexander says, making a private dialect will lead to difficulties
> - you will have to convert any outside code, etc.
> steve d.